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
↓ 4 callers
Method
bigrams
(sequence: string | string[], startSymbol: string | undefined, endSymbol: string | undefined, stats: true)
lib/natural/ngrams/index.d.ts:41
↓ 4 callers
Method
dropH
(token)
lib/natural/phonetics/metaphone.js:75
↓ 4 callers
Method
dropY
(token)
lib/natural/phonetics/metaphone.js:124
↓ 4 callers
Function
endsin
(token, suffix)
lib/natural/stemmers/porter_stemmer_fr.js:362
↓ 4 callers
Method
generateFeatures
(featureSet)
lib/natural/classifiers/maxent/Sample.js:102
↓ 4 callers
Function
generateUniqueCode
(base, index)
lib/natural/tokenizers/sentence_tokenizer.js:33
↓ 4 callers
Method
getFeatures
()
lib/natural/classifiers/maxent/FeatureSet.js:56
↓ 4 callers
Function
hex
(ch)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:62
↓ 4 callers
Method
implicitYou
()
lib/natural/analyzers/sentence_analyzer.js:130
↓ 4 callers
Function
ngrams
(sequence, n, startSymbol, endSymbol, stats)
lib/natural/ngrams/ngrams.js:73
↓ 4 callers
Method
nrEntries
()
lib/natural/brill_pos_tagger/lib/Lexicon.js:106
↓ 4 callers
Method
nrRules
()
lib/natural/brill_pos_tagger/lib/RuleSet.js:75
↓ 4 callers
Method
numbersFH
(str)
lib/natural/normalizers/normalizer_ja.js:530
↓ 4 callers
Method
order
* get ordered vertexs of digraph
lib/natural/util/topological.js:42
↓ 4 callers
Method
padRight0
(token)
lib/natural/phonetics/soundex.js:64
↓ 4 callers
Function
peg$parseComment
()
lib/natural/brill_pos_tagger/lib/TF_Parser.js:480
↓ 4 callers
Method
punctuationHF
(str)
lib/natural/normalizers/normalizer_ja.js:574
↓ 4 callers
Function
removePrefixes
()
lib/natural/stemmers/indonesian/stemmer_id.js:182
↓ 4 callers
Method
restore
(classifier, stemmer)
lib/natural/classifiers/classifier.js:142
↓ 4 callers
Function
setupClassifier
()
spec/bayes_classifier_spec.ts:27
↓ 4 callers
Function
stemSingularWord
(word)
lib/natural/stemmers/indonesian/stemmer_id.js:94
↓ 4 callers
Method
transformT
(token)
lib/natural/phonetics/metaphone.js:95
↓ 4 callers
Method
weight
(x)
lib/natural/classifiers/maxent/Distribution.js:40
↓ 3 callers
Method
analyse
()
lib/natural/classifiers/maxent/Sample.js:44
↓ 3 callers
Method
associateSiteWithRule
(i, j, rule)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:89
↓ 3 callers
Function
attemptReplace
(token, pattern, replacement, callback)
lib/natural/stemmers/porter_stemmer.js:54
↓ 3 callers
Function
categorizeGroups
(token)
lib/natural/stemmers/porter_stemmer.js:29
↓ 3 callers
Function
checkThreadSupport
()
lib/natural/classifiers/classifier_train_parallel.js:12
↓ 3 callers
Function
classEscape
(s)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:78
↓ 3 callers
Function
countNgrams
(ngram)
lib/natural/ngrams/ngrams.js:63
↓ 3 callers
Function
createResultObject
(result, word, type)
lib/natural/stemmers/indonesian/suffix_rules.js:34
↓ 3 callers
Method
dTransform
(token)
lib/natural/phonetics/metaphone.js:52
↓ 3 callers
Method
dedup
(token)
lib/natural/phonetics/metaphone.js:28
↓ 3 callers
Method
dropBafterMAtEnd
(token)
lib/natural/phonetics/metaphone.js:38
↓ 3 callers
Method
dropVowels
(token)
lib/natural/phonetics/metaphone.js:132
↓ 3 callers
Method
dropW
(token)
lib/natural/phonetics/metaphone.js:114
↓ 3 callers
Method
edges
* use callback on all edges.
lib/natural/util/edge_weighted_digraph.js:72
↓ 3 callers
Function
endsinArr
(str, suffixes)
lib/natural/stemmers/porter_stemmer_nl.js:40
↓ 3 callers
Function
escapeRegExp
(string)
lib/natural/tokenizers/sentence_tokenizer.js:39
↓ 3 callers
Method
evaluate
(sentence, position)
lib/natural/brill_pos_tagger/lib/Predicate.js:42
↓ 3 callers
Function
expectResults
(results: string[])
spec/trie_spec.ts:110
↓ 3 callers
Method
findPrefix
* Returns the longest match and the remaining part that could not be matched. * inspired by [NLTK containers.trie.find_prefix](http://nltk.googleco
lib/natural/trie/trie.js:190
↓ 3 callers
Method
fixFullwidthKana
(str)
lib/natural/normalizers/normalizer_ja.js:550
↓ 3 callers
Method
getClasses
()
lib/natural/classifiers/maxent/Sample.js:98
↓ 3 callers
Method
getRules
()
lib/natural/brill_pos_tagger/lib/RuleSet.js:68
↓ 3 callers
Method
isCorrect
(word)
lib/natural/spellcheck/spellcheck.js:43
↓ 3 callers
Method
keysWithPrefix
* A function to search the TRIE and return an array of * words which have same prefix <prefix> * for example if we had the following words in ou
lib/natural/trie/trie.js:86
↓ 3 callers
Method
listTerms
(d)
lib/natural/tfidf/tfidf.js:190
↓ 3 callers
Method
loadFrom
(key, storageBackend)
lib/natural/classifiers/classifier.js:175
↓ 3 callers
Function
ngrams
(sequence, n, startSymbol, endSymbol)
lib/natural/ngrams/ngrams_zh.js:37
↓ 3 callers
Method
nrSentences
()
lib/natural/brill_pos_tagger/lib/Corpus.js:167
↓ 3 callers
Method
observedProbability
(x)
lib/natural/classifiers/maxent/Sample.js:86
↓ 3 callers
Method
removeAccent
(word)
lib/natural/stemmers/porter_stemmer_es.js:85
↓ 3 callers
Method
saveTo
(storageBackend)
lib/natural/classifiers/classifier.js:171
↓ 3 callers
Method
setStopwords
(customStopwords)
lib/natural/tfidf/tfidf.js:228
↓ 3 callers
Method
tag
(lexicon)
lib/natural/brill_pos_tagger/lib/Corpus.js:158
↓ 3 callers
Method
tagWithLexicon
(sentence)
lib/natural/brill_pos_tagger/lib/Brill_POS_Tagger.js:40
↓ 3 callers
Function
testSentenceAnalyzer
(sentenceTags: TaggedWord[], tests: Tests, callback: CallbackFunction)
spec/sentence_analyzer_spec.ts:44
↓ 3 callers
Method
textToFeatures
(observation)
lib/natural/classifiers/classifier.js:100
↓ 3 callers
Method
transformX
(token)
lib/natural/phonetics/metaphone.js:118
↓ 3 callers
Function
undoubleEnding
(str)
lib/natural/stemmers/porter_stemmer_nl.js:65
↓ 3 callers
Method
unpack
* unpack the bag , and get all items
lib/natural/util/bag.js:48
↓ 2 callers
Method
KullbackLieblerDistance
()
lib/natural/classifiers/maxent/Distribution.js:115
↓ 2 callers
Method
aPosterioriNormalisation
(b)
lib/natural/classifiers/maxent/Distribution.js:80
↓ 2 callers
Method
addPlural
(pattern, replacement)
lib/natural/inflectors/singular_plural_inflector.js:40
↓ 2 callers
Method
addSingular
(pattern, replacement)
lib/natural/inflectors/singular_plural_inflector.js:36
↓ 2 callers
Method
apply
(sentence, position)
lib/natural/brill_pos_tagger/lib/TransformationRule.js:42
↓ 2 callers
Method
applyRules
(sentence)
lib/natural/brill_pos_tagger/lib/Brill_POS_Tagger.js:55
↓ 2 callers
Function
attemptReplacePatterns
(token, replacements, measureThreshold)
lib/natural/stemmers/porter_stemmer.js:64
↓ 2 callers
Function
buildDocument
(text, key)
lib/natural/tfidf/tfidf.js:31
↓ 2 callers
Method
buildLexicon
()
lib/natural/brill_pos_tagger/lib/Corpus.js:131
↓ 2 callers
Function
categorizeChars
(token)
lib/natural/stemmers/porter_stemmer.js:34
↓ 2 callers
Method
checkSum
()
lib/natural/classifiers/maxent/Distribution.js:143
↓ 2 callers
Method
condense
(token)
lib/natural/phonetics/soundex.js:60
↓ 2 callers
Function
createClassifier
()
spec/logistic_regression_classifier_spec.ts:59
↓ 2 callers
Function
derivational
(token)
lib/natural/stemmers/porter_stemmer_ru.js:104
↓ 2 callers
Function
derivational
(token)
lib/natural/stemmers/porter_stemmer_uk.js:80
↓ 2 callers
Method
dropT
(token)
lib/natural/phonetics/metaphone.js:102
↓ 2 callers
Method
e
* the number of edges saved.
lib/natural/util/edge_weighted_digraph.js:44
↓ 2 callers
Method
edits
(word)
lib/natural/spellcheck/spellcheck.js:73
↓ 2 callers
Method
editsWithMaxDistance
(word, distance)
lib/natural/spellcheck/spellcheck.js:90
↓ 2 callers
Function
emitEvents
(self, docFeatures, totalDocs)
lib/natural/classifiers/classifier_train_parallel.js:53
↓ 2 callers
Function
expectResults
(records)
io_spec/wordnet_spec.js:37
↓ 2 callers
Method
findMatchesOnPath
* A function to search the TRIE and return an array of words which were encountered along the way. * This will only return words with full prefix m
lib/natural/trie/trie.js:159
↓ 2 callers
Method
findRules
(str)
lib/natural/phonetics/dm_soundex.js:231
↓ 2 callers
Method
generatePositiveRules
(i, j)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:192
↓ 2 callers
Function
get
(synsetOffset, pos, callback)
lib/natural/wordnet/wordnet.js:70
↓ 2 callers
Method
getAdj
* use callback on all edges from v.
lib/natural/util/edge_weighted_digraph.js:64
↓ 2 callers
Function
getBigrams
(str)
lib/natural/distance/dice_coefficient.js:25
↓ 2 callers
Method
getSites
(rule)
lib/natural/brill_pos_tagger/lib/Brill_POS_Trainer.js:106
↓ 2 callers
Method
hasRule
(rule)
lib/natural/brill_pos_tagger/lib/RuleSet.js:79
↓ 2 callers
Method
isApplicableAt
(sentence, taggedSentence, i)
lib/natural/brill_pos_tagger/lib/TransformationRule.js:57
↓ 2 callers
Method
isDAG
()
lib/natural/util/topological.js:35
↓ 2 callers
Method
izeRegExps
(token, forms)
lib/natural/inflectors/singular_plural_inflector.js:98
↓ 2 callers
Function
literalEscape
(s)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:66
↓ 2 callers
Function
merge
* Merge several objects. Properties from earlier objects are overwritten by * laters's in case of conflict. * * @param {...Object.<string, strin
lib/natural/util/utils.js:99
↓ 2 callers
Function
miss
(callbackFunction)
lib/natural/wordnet/index_file.js:58
↓ 2 callers
Method
part
(callbackFunction)
lib/natural/analyzers/sentence_analyzer.js:54
↓ 2 callers
Function
peg$buildStructuredError
(expected, found, location)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:315
↓ 2 callers
Function
peg$computePosDetails
(pos)
lib/natural/brill_pos_tagger/lib/TF_Parser.js:249
← previous
next →
101–200 of 759, ranked by callers