MCPcopy Create free account

hub / github.com/kenlimmj/rouge / functions

Functions20 in github.com/kenlimmj/rouge

↓ 10 callersFunctionnGram
( tokens: Array<string>, n: number = 2, pad: Object = {} )
lib/utils.js:277
↓ 7 callersFunctionlcs
(a: Array<string>, b: Array<string>)
lib/utils.js:430
↓ 6 callersFunctionn
( cand: string, ref: string, opts: { n: number, nGram: ((tokens: Array<string>, n: number) => Ar
lib/rouge.js:35
↓ 6 callersFunctions
( cand: string, ref: string, opts: { beta: number, skipBigram: ((tokens: Array<string>) => Array
lib/rouge.js:83
↓ 5 callersFunctionl
( cand: string, ref: string, opts: { beta: number, lcs: ((a: Array<string>, b: Array<string>) =>
lib/rouge.js:140
↓ 4 callersFunctioncomb2
(val: number)
lib/utils.js:316
↓ 4 callersFunctionstrIsTitleCase
(input: string)
lib/utils.js:175
↓ 1 callersFunctioncharIsUpperCase
(input: string)
lib/utils.js:186
↓ 1 callersFunctionmemoize
* Memoizes a function using a Map * * @method memoize * @param {Function} func The function to be memoized * @param {Function} Store The da
lib/utils.js:202
FunctionarithmeticMean
(input: Array<number>)
lib/utils.js:327
FunctionevalFunc
(a, b)
test/tests.js:342
FunctionfMeasure
( p: number, r: number, beta: number = 0.5 )
lib/utils.js:385
FunctionfactRec
* Computes the factorial of a number. * * This function uses a tail-recursive call to avoid * blowing the stack when computing inputs with a large
lib/utils.js:234
Functionintersection
(a: Array<string>, b: Array<string>)
lib/utils.js:410
FunctionjackKnife
( cands: Array<string>, ref: string, func: ((x: string, y: string) => number), test: ((x: Array<number
lib/utils.js:346
FunctionsentenceSegment
(input: string)
lib/utils.js:97
FunctionskipBigram
( tokens: Array<string> )
lib/utils.js:251
FunctionstatTest
(input)
test/tests.js:343
FunctionstripFlowTypes
(s)
gulpfile.js:25
FunctiontreeBankTokenize
(input: string)
lib/utils.js:34