Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NaturalNode/natural
/ functions
Functions
759 in github.com/NaturalNode/natural
⨍
Functions
759
◇
Types & classes
359
↓ 1 callers
Method
hasPathTo
(v)
lib/natural/util/shortest_path_tree.js:84
↓ 1 callers
Method
hiraganaToKatakana
* Convert hiragana to fullwidth katakana. * According to http://jsperf.com/converting-japanese, these implementations are * faster than using lo
lib/natural/normalizers/normalizer_ja.js:594
↓ 1 callers
Function
iPrecededByCSuffix
* Step 3: Delete suffix i. * * Perform this step if the word was changed, in RV and preceded by c. * * @param {Token} token Token to st
lib/natural/stemmers/porter_stemmer_pt.js:189
↓ 1 callers
Function
intersect
(set1, set2)
lib/natural/distance/dice_coefficient.js:40
↓ 1 callers
Function
isEncoding
(encoding)
lib/natural/tfidf/tfidf.js:59
↓ 1 callers
Function
isNumeric
(num)
lib/natural/brill_pos_tagger/lib/RuleTemplates.js:309
↓ 1 callers
Function
isPlural
(token)
lib/natural/stemmers/indonesian/stemmer_id.js:113
↓ 1 callers
Function
isSuffixRemovals
(removal)
lib/natural/stemmers/indonesian/stemmer_id.js:249
↓ 1 callers
Method
izeAbiguous
(token)
lib/natural/inflectors/singular_plural_inflector.js:51
↓ 1 callers
Method
izeRegulars
(token, formSet)
lib/natural/inflectors/singular_plural_inflector.js:77
↓ 1 callers
Method
katakanaToHiragana
* Convert katakana to hiragana. * * @param {string} str A string. * @return {string} A string not containing katakana.
lib/natural/normalizers/normalizer_ja.js:615
↓ 1 callers
Function
loadDictionary
()
lib/natural/stemmers/indonesian/prefix_rules.js:31
↓ 1 callers
Function
loadDictionary
()
lib/natural/stemmers/indonesian/stemmer_id.js:126
↓ 1 callers
Function
loopRestorePrefixes
()
lib/natural/stemmers/indonesian/stemmer_id.js:213
↓ 1 callers
Method
mapRuleToSite
(rule, i, j)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:69
↓ 1 callers
Method
mapSiteToRule
(i, j, rule)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:79
↓ 1 callers
Method
markRegions
(token)
lib/natural/stemmers/porter_stemmer_nl.js:118
↓ 1 callers
Method
neighbourhood
(i, j)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:280
↓ 1 callers
Function
next1Or2TagIs
(sentence, i, parameter)
lib/natural/brill_pos_tagger/lib/RuleTemplates.js:579
↓ 1 callers
Function
next1Or2TagIsParameterValues
(sentence, i)
lib/natural/brill_pos_tagger/lib/RuleTemplates.js:591
↓ 1 callers
Method
nextConsonantPosition
(word, start = 0)
lib/natural/stemmers/porter_stemmer_es.js:47
↓ 1 callers
Method
nextVowelPosition
(word, start = 0)
lib/natural/stemmers/porter_stemmer_es.js:35
↓ 1 callers
Method
normalize
(str)
lib/natural/normalizers/normalizer_ja.js:554
↓ 1 callers
Method
normalizeLength
* Pad right with zeroes or cut excess symbols to fit length
lib/natural/phonetics/dm_soundex.js:255
↓ 1 callers
Method
normalizeText
(text)
lib/natural/tokenizers/aggressive_tokenizer_id.js:30
↓ 1 callers
Function
noun
(token)
lib/natural/stemmers/porter_stemmer_ru.js:90
↓ 1 callers
Function
noun
(token)
lib/natural/stemmers/porter_stemmer_uk.js:66
↓ 1 callers
Method
nthForm
(i)
lib/natural/inflectors/count_inflector.js:26
↓ 1 callers
Method
nthForm
* @param {number|string} i * @return {string}
lib/natural/inflectors/fr/count_inflector.js:54
↓ 1 callers
Method
observedExpectation
(sample)
lib/natural/classifiers/maxent/Feature.js:81
↓ 1 callers
Method
observedProbabilityOfContext
(context)
lib/natural/classifiers/maxent/Sample.js:78
↓ 1 callers
Function
onError
(err)
lib/natural/classifiers/classifier_train_parallel.js:165
↓ 1 callers
Function
onFeaturesResult
(docs)
lib/natural/classifiers/classifier_train_parallel.js:90
↓ 1 callers
Function
onFinished
(err)
lib/natural/classifiers/classifier_train_parallel.js:106
↓ 1 callers
Method
parseBrownCorpus
(data, SentenceClass)
lib/natural/brill_pos_tagger/lib/Corpus.js:55
↓ 1 callers
Function
participle
(token)
lib/natural/stemmers/porter_stemmer_ru.js:67
↓ 1 callers
Function
participle
(token)
lib/natural/stemmers/porter_stemmer_uk.js:45
↓ 1 callers
Function
peg$anyExpectation
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:237
↓ 1 callers
Function
peg$buildSimpleError
(message, location)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:311
↓ 1 callers
Function
peg$c0
(c1, c2, pred, pars)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:145
↓ 1 callers
Function
peg$c3
(characters)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:162
↓ 1 callers
Function
peg$c6
(wc)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:171
↓ 1 callers
Function
peg$classExpectation
(parts, inverted, ignoreCase)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:233
↓ 1 callers
Function
peg$endExpectation
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:241
↓ 1 callers
Function
peg$otherExpectation
(description)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:245
↓ 1 callers
Function
peg$parseEOI
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:684
↓ 1 callers
Function
peg$parsecategory1
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:364
↓ 1 callers
Function
peg$parsewild_card
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:419
↓ 1 callers
Function
peg$subclass
(child, parent)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:10
↓ 1 callers
Function
perfectiveGerund
(token)
lib/natural/stemmers/porter_stemmer_ru.js:43
↓ 1 callers
Function
perfectiveGerund
(token)
lib/natural/stemmers/porter_stemmer_uk.js:21
↓ 1 callers
Function
pipe
(...fns)
lib/natural/stemmers/Carry/utils.js:24
↓ 1 callers
Function
postlude
* Postlude. * * Turns a~, o~ back into ã, õ. * * @param {String} token Word to stem. * @return {String} Stemmed token.
lib/natural/stemmers/porter_stemmer_pt.js:247
↓ 1 callers
Method
postlude
(word)
lib/natural/stemmers/porter_stemmer_nl.js:329
↓ 1 callers
Function
precedenceAdjustmentSpecification
(word)
lib/natural/stemmers/indonesian/stemmer_id.js:273
↓ 1 callers
Function
prelude
* Pre-process/prepare words as required by french porter stemmer algorithm * @param {String} token Word to be prepared * @return {String} Pre
lib/natural/stemmers/porter_stemmer_fr.js:314
↓ 1 callers
Function
prelude
* Prelude. * * Nasalised vowel forms should be treated as a vowel followed by a consonant. * * @param {String} token Word to stem. * @
lib/natural/stemmers/porter_stemmer_pt.js:83
↓ 1 callers
Method
prepareAPosterioris
()
lib/natural/classifiers/maxent/Distribution.js:92
↓ 1 callers
Method
prepareWeights
()
lib/natural/classifiers/maxent/Distribution.js:58
↓ 1 callers
Method
prepositionPhrases
()
lib/natural/analyzers/sentence_analyzer.js:96
↓ 1 callers
Function
prev1Or2Tag
(sentence, i, parameter)
lib/natural/brill_pos_tagger/lib/RuleTemplates.js:652
↓ 1 callers
Function
prev1Or2TagParameterValues
(sentence, i)
lib/natural/brill_pos_tagger/lib/RuleTemplates.js:664
↓ 1 callers
Method
printRulesWithScores
()
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:405
↓ 1 callers
Function
readLine
(fd, pos, callback)
lib/natural/wordnet/index_file.js:51
↓ 1 callers
Function
reflexive
(token)
lib/natural/stemmers/porter_stemmer_ru.js:75
↓ 1 callers
Function
reflexive
(token)
lib/natural/stemmers/porter_stemmer_uk.js:52
↓ 1 callers
Function
regions
* Compute r1, r2, rv regions as required by french porter stemmer algorithm * @param {String} token Word to compute regions on * @return {Object}
lib/natural/stemmers/porter_stemmer_fr.js:264
↓ 1 callers
Method
relaxVertex
* relax a vertex v in the specified digraph g * @param {EdgeWeightedDigraph} the apecified digraph * @param {Vertex} v vertex to be relaxed
lib/natural/util/longest_path_tree.js:65
↓ 1 callers
Method
relaxVertex
* relax a vertex v in the specified digraph g * @param {EdgeWeightedDigraph} the apecified digraph * @param {Vertex} v vertex to be relaxed
lib/natural/util/shortest_path_tree.js:65
↓ 1 callers
Function
removeDiacritics
(text)
lib/natural/normalizers/normalizer_sv.js:29
↓ 1 callers
Method
removeRule
(rule)
lib/natural/brill_pos_tagger/lib/RuleSet.js:62
↓ 1 callers
Method
replaceAbbreviations
(text)
lib/natural/tokenizers/sentence_tokenizer.js:72
↓ 1 callers
Method
replaceAccentedCharacters
(word)
lib/natural/stemmers/porter_stemmer_nl.js:74
↓ 1 callers
Function
replaceAcute
(token)
lib/natural/stemmers/porter_stemmer_it.js:64
↓ 1 callers
Method
replaceDelimitersWithPlaceholders
(text)
lib/natural/tokenizers/sentence_tokenizer.js:86
↓ 1 callers
Method
replaceNumbersWithCode
(text)
lib/natural/tokenizers/sentence_tokenizer.js:119
↓ 1 callers
Method
replaceUrisWithPlaceholders
(text)
lib/natural/tokenizers/sentence_tokenizer.js:60
↓ 1 callers
Function
residualForm
* Step 5: Residual form. * * This step should always be performed. * * @param {Token} token Token to stem. * @return {Token} Ste
lib/natural/stemmers/porter_stemmer_pt.js:219
↓ 1 callers
Function
residualSuffix
* Step 4: Residual suffix. * * Perform this step if steps 1 and 2 did not alter the word. * * @param {Token} token Token to stem. * @r
lib/natural/stemmers/porter_stemmer_pt.js:205
↓ 1 callers
Method
restoreCase
(token)
lib/natural/inflectors/singular_plural_inflector.js:65
↓ 1 callers
Function
restorePrefix
()
lib/natural/stemmers/indonesian/stemmer_id.js:257
↓ 1 callers
Method
revertDelimiters
(text)
lib/natural/tokenizers/sentence_tokenizer.js:142
↓ 1 callers
Method
revertReplacements
(text)
lib/natural/tokenizers/sentence_tokenizer.js:132
↓ 1 callers
Method
scanForPositiveRules
()
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:232
↓ 1 callers
Method
scanForSites
()
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:250
↓ 1 callers
Function
selectRuleTemplates
(templateNames: string[])
spec/brill_pos_trainer_spec.ts:42
↓ 1 callers
Function
sendBatch
(batchJson)
lib/natural/classifiers/classifier_train_parallel.js:240
↓ 1 callers
Function
sendNext
()
lib/natural/classifiers/classifier_train_parallel.js:229
↓ 1 callers
Method
setDefaultCategories
(category, categoryCapitalised)
lib/natural/brill_pos_tagger/lib/Lexicon.js:114
↓ 1 callers
Method
siteIsAssociatedWithRule
(i, j, rule)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:94
↓ 1 callers
Method
splitOnPlaceholders
(text, placeholders)
lib/natural/tokenizers/sentence_tokenizer.js:100
↓ 1 callers
Function
standardSuffix
* Step 1: Standard suffix removal. * * This step should always be performed. * * @param {Token} token Word to stem. * @return {Token}
lib/natural/stemmers/porter_stemmer_pt.js:97
↓ 1 callers
Method
stem
(token)
lib/natural/stemmers/stemmer_de.js:31
↓ 1 callers
Method
stem
(token)
lib/natural/stemmers/stemmer_es.js:29
↓ 1 callers
Function
stemPluralWord
(pluralWord)
lib/natural/stemmers/indonesian/stemmer_id.js:62
↓ 1 callers
Function
stemmingProcess
()
lib/natural/stemmers/indonesian/stemmer_id.js:132
↓ 1 callers
Function
step1
(token)
lib/natural/stemmers/porter_stemmer_no.js:46
↓ 1 callers
Function
step1
(str)
lib/natural/stemmers/porter_stemmer_sv.js:62
↓ 1 callers
Function
step1a
(token)
lib/natural/stemmers/porter_stemmer.js:103
↓ 1 callers
Function
step1a
(token)
lib/natural/stemmers/porter_stemmer_no.js:61
← previous
next →
301–400 of 759, ranked by callers