word2vec
word2vec copied to clipboard
Potentially a bug of resetting vocab size when a vocab file is specified
If a -read-vocab file is specified, then all their counts are 0, it seems SortVocab() will remove all words in such case.
https://github.com/dav/word2vec/blob/5f2e9661025c4f6b496c6a6888be0d090b9c44b3/src/word2vec.c#L323
https://github.com/dav/word2vec/blob/5f2e9661025c4f6b496c6a6888be0d090b9c44b3/src/word2vec.c#L155