Python interface to Google word2vec.
Training is done using the original C code, other functionality is pure Python with numpy.
pip install word2vec
The installation requires to compile the original C code using gcc.
You can override the compilation flags if needed:
WORD2VEC_CFLAGS='-march=corei7' pip install word2vec
Windows: There is basic some support for this support based on this win32 port.
Example notebook: word2vec
The default functionality from word2vec is available with the following commands:
word2vecword2phraseword2vec-distanceword2vec-word-analogyword2vec-compute-accuracyExperimental functionality on doc2vec can be found in this example: doc2vec
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
76 followers · starred Apr 2020
111 followers · starred May 2016
44 followers · starred Feb 2019
66 followers · starred Mar 2015
Python interface to Google word2vec.
Training is done using the original C code, other functionality is pure Python with numpy.
pip install word2vec
The installation requires to compile the original C code using gcc.
You can override the compilation flags if needed:
WORD2VEC_CFLAGS='-march=corei7' pip install word2vec
Windows: There is basic some support for this support based on this win32 port.
Example notebook: word2vec
The default functionality from word2vec is available with the following commands:
word2vecword2phraseword2vec-distanceword2vec-word-analogyword2vec-compute-accuracyExperimental functionality on doc2vec can be found in this example: doc2vec
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
76 followers · starred Apr 2020
111 followers · starred May 2016
44 followers · starred Feb 2019
66 followers · starred Mar 2015