Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dav/word2vec
/ functions
Functions
34 in github.com/dav/word2vec
⨍
Functions
34
◇
Types & classes
2
↓ 17 callers
Function
ArgPos
src/word2vec.c:663
↓ 5 callers
Function
ArgPos
src/word2phrase.c:251
↓ 5 callers
Function
SearchVocab
Returns position of a word in the vocabulary; if the word is not found, returns -1
src/word2phrase.c:73
↓ 4 callers
Function
GetWordHash
Returns hash value of a word
src/word2vec.c:101
↓ 4 callers
Function
GetWordHash
Returns hash value of a word
src/word2phrase.c:65
↓ 3 callers
Function
AddWordToVocab
Adds a word to the vocabulary
src/word2vec.c:128
↓ 3 callers
Function
AddWordToVocab
Adds a word to the vocabulary
src/word2phrase.c:92
↓ 3 callers
Function
ReadWord
Reads a single word from a file, assuming space + tab + EOL to be word boundaries
src/word2vec.c:78
↓ 3 callers
Function
ReadWord
Reads a single word from a file, assuming space + tab + EOL to be word boundaries
src/word2phrase.c:42
↓ 2 callers
Function
SearchVocab
Returns position of a word in the vocabulary; if the word is not found, returns -1
src/word2vec.c:109
↓ 2 callers
Function
SortVocab
Sorts the vocabulary by frequency using word counts
src/word2vec.c:152
↓ 1 callers
Function
CreateBinaryTree
Create binary Huffman tree using the word counts Frequent words will have short uniqe binary codes
src/word2vec.c:204
↓ 1 callers
Function
InitNet
src/word2vec.c:345
↓ 1 callers
Function
InitUnigramTable
src/word2vec.c:59
↓ 1 callers
Function
LearnVocabFromTrainFile
src/word2vec.c:269
↓ 1 callers
Function
LearnVocabFromTrainFile
src/word2phrase.c:158
↓ 1 callers
Function
ReadVocab
src/word2vec.c:312
↓ 1 callers
Function
ReadWordIndex
Reads a word and returns its index in the vocabulary
src/word2vec.c:120
↓ 1 callers
Function
ReduceVocab
Reduces the vocabulary by removing infrequent tokens
src/word2vec.c:182
↓ 1 callers
Function
ReduceVocab
Reduces the vocabulary by removing infrequent tokens
src/word2phrase.c:138
↓ 1 callers
Function
SaveVocab
src/word2vec.c:305
↓ 1 callers
Function
SortVocab
Sorts the vocabulary by frequency using word counts
src/word2phrase.c:116
↓ 1 callers
Function
TrainModel
src/word2vec.c:577
↓ 1 callers
Function
TrainModel
src/word2phrase.c:206
↓ 1 callers
Function
TrainModelThread
src/word2vec.c:384
Function
ReadWordIndex
Reads a word and returns its index in the vocabulary
src/word2phrase.c:84
Function
TrainModelThread_win
src/word2vec.c:571
Function
VocabCompare
Used later for sorting by word counts
src/word2vec.c:147
Function
VocabCompare
Used later for sorting by word counts
src/word2phrase.c:111
Function
main
src/word-analogy.c:26
Function
main
src/distance.c:26
Function
main
src/word2vec.c:675
Function
main
src/word2phrase.c:263
Function
main
src/compute-accuracy.c:28