word2vec-native

Port of the word2vec distance program as a native node addon

Usage no npm install needed!

<script type="module">
  import word2vecNative from 'https://cdn.skypack.dev/word2vec-native';
</script>

README

node-word2vec-native

Port of the word2vec distance program to a native node.js addon

Usage

This addon does not train vectors. Only the distance program is supported by reading a pre-compiled vector binary.

See the test.js code for an example

Credit

Credit goes to Tomas Mikolov for his original word2vec implementation. Original code from https://code.google.com/p/word2vec/