README
word2vec-pure-js
-- THIS IS A PROTOTYPE FOR NOW -- This is a module capable of reading pre-trained word2vec models in .bin format. It is written in pure JS and only implements getting similar words for now.
Methods
- load(path) - load a file from path
-path:
string
Loads model atpath
to - getSimilarWords(word, count=10)
-word:
string
-count:number
Get thecount
closest words from word
TODO:
Implements all the useful functions when working with word vectors to make this useable.