Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Anonyfox/rake-js
/ functions
Functions
52 in github.com/Anonyfox/rake-js
⨍
Functions
52
◇
Types & classes
30
↓ 7 callers
Method
count
(str: string)
src/lib/data_structures/string_counter.ts:9
↓ 6 callers
Function
rake
(params: IParameters)
src/lib/rake.ts:20
↓ 5 callers
Method
push
(phrase: string)
src/lib/tools/parser.ts:54
↓ 5 callers
Function
strip
(text: string)
src/lib/tools/strip.ts:4
↓ 4 callers
Method
strings
()
src/lib/data_structures/string_counter.ts:21
↓ 2 callers
Method
add
(key: string, value: string)
src/lib/data_structures/string_dictionary.ts:9
↓ 2 callers
Method
finalizePhraseCache
()
src/lib/tools/parser.ts:76
↓ 2 callers
Method
get
(key: string)
src/lib/data_structures/string_dictionary.ts:17
↓ 2 callers
Method
getStems
()
src/lib/tools/stemmer.ts:36
↓ 2 callers
Function
guessLanguage
(text: string)
src/lib/tools/guess_language.ts:30
↓ 2 callers
Method
process
(wordArray: string[])
src/lib/tools/parser.ts:25
↓ 2 callers
Method
process
(corpus: string)
src/lib/tools/preprocessor.ts:15
↓ 2 callers
Method
pushWord
(word: string)
src/lib/data_structures/phrase.ts:18
↓ 2 callers
Method
setNewPhraseCache
()
src/lib/tools/parser.ts:71
↓ 2 callers
Method
stem
(word: string)
src/lib/tools/stemmer.ts:24
↓ 1 callers
Method
bestPhrases
()
src/lib/tools/parser.ts:47
↓ 1 callers
Method
buildDelimiterRegexp
()
src/lib/tools/preprocessor.ts:19
↓ 1 callers
Method
calculateScore
(stemIndex: { [stem: string]: number })
src/lib/data_structures/phrase.ts:32
↓ 1 callers
Method
calculateScores
()
src/lib/data_structures/word_matrix.ts:30
↓ 1 callers
Method
calculateStems
(stemmer: Stemmer)
src/lib/data_structures/phrase.ts:28
↓ 1 callers
Method
createIndex
()
src/lib/data_structures/word_matrix.ts:46
↓ 1 callers
Method
createText
()
src/lib/data_structures/phrase.ts:24
↓ 1 callers
Method
createZeroMatrix
()
src/lib/data_structures/word_matrix.ts:52
↓ 1 callers
Method
getRow
(row: number)
src/lib/data_structures/word_matrix.ts:17
↓ 1 callers
Method
isEmpty
()
src/lib/data_structures/phrase.ts:14
↓ 1 callers
Method
joinDuplicates
()
src/lib/tools/parser.ts:33
↓ 1 callers
Function
load
(language: string)
src/lib/tools/stoplist.ts:12
↓ 1 callers
Method
multiplyWith
(amount: number)
src/lib/data_structures/phrase.ts:40
↓ 1 callers
Method
stemAll
()
src/lib/tools/parser.ts:85
Method
addsNewWords
()
src/test/data_structures/string_dictionary.ts:8
Method
cleanStringEnglish
()
src/test/tools/preprocessor.ts:8
Method
constructor
(private stemmer: Stemmer, private stopwords: Set<string>)
src/lib/tools/parser.ts:20
Method
constructor
(private language: string = 'english')
src/lib/tools/stemmer.ts:19
Method
constructor
(private delimiters: string[])
src/lib/tools/preprocessor.ts:11
Method
constructor
(private keys: string[])
src/lib/data_structures/word_matrix.ts:7
Method
countsExistingWords
()
src/test/data_structures/string_counter.ts:18
Method
countsNewWords
()
src/test/data_structures/string_counter.ts:8
Method
guessesEnglish
()
src/test/tools/guess_language.ts:8
Method
ignoresEmptyInput
()
src/test/data_structures/string_counter.ts:28
Method
incField
(row: number, col: number)
src/lib/data_structures/word_matrix.ts:13
Function
process
(text: string, opts?: IOptions)
src/lib/index.ts:10
Method
process
(values: string[])
src/lib/data_structures/word_matrix.ts:21
Method
removesNonAsciiCharacters
()
src/test/tools/strip.ts:8
Method
stripBadWhitespace
()
src/test/tools/strip.ts:26
Method
stripNoUmlauts
()
src/test/tools/strip.ts:21
Method
stripPunctuation
()
src/test/tools/strip.ts:16
Method
worksWithEnglishDefaults
()
src/test/tools/stemmer.ts:8
Method
worksWithGermanNewsContent
()
src/test/rake.ts:50
Method
worksWithGermanPressContent
()
src/test/rake.ts:66
Method
worksWithLongFormContent
()
src/test/rake.ts:82
Method
worksWithNewsContent
()
src/test/rake.ts:34
Method
worksWithSimpleTexts
()
src/test/rake.ts:10