Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kenlimmj/rouge
/ functions
Functions
20 in github.com/kenlimmj/rouge
⨍
Functions
20
◇
Types & classes
0
↓ 10 callers
Function
nGram
( tokens: Array<string>, n: number = 2, pad: Object = {} )
lib/utils.js:277
↓ 7 callers
Function
lcs
(a: Array<string>, b: Array<string>)
lib/utils.js:430
↓ 6 callers
Function
n
( cand: string, ref: string, opts: { n: number, nGram: ((tokens: Array<string>, n: number) => Ar
lib/rouge.js:35
↓ 6 callers
Function
s
( cand: string, ref: string, opts: { beta: number, skipBigram: ((tokens: Array<string>) => Array
lib/rouge.js:83
↓ 5 callers
Function
l
( cand: string, ref: string, opts: { beta: number, lcs: ((a: Array<string>, b: Array<string>) =>
lib/rouge.js:140
↓ 4 callers
Function
comb2
(val: number)
lib/utils.js:316
↓ 4 callers
Function
strIsTitleCase
(input: string)
lib/utils.js:175
↓ 1 callers
Function
charIsUpperCase
(input: string)
lib/utils.js:186
↓ 1 callers
Function
memoize
* 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
Function
arithmeticMean
(input: Array<number>)
lib/utils.js:327
Function
evalFunc
(a, b)
test/tests.js:342
Function
fMeasure
( p: number, r: number, beta: number = 0.5 )
lib/utils.js:385
Function
factRec
* 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
Function
intersection
(a: Array<string>, b: Array<string>)
lib/utils.js:410
Function
jackKnife
( cands: Array<string>, ref: string, func: ((x: string, y: string) => number), test: ((x: Array<number
lib/utils.js:346
Function
sentenceSegment
(input: string)
lib/utils.js:97
Function
skipBigram
( tokens: Array<string> )
lib/utils.js:251
Function
statTest
(input)
test/tests.js:343
Function
stripFlowTypes
(s)
gulpfile.js:25
Function
treeBankTokenize
(input: string)
lib/utils.js:34