danielfrg/word2vec

Python interface to Google word2vec

C

2,614

201 commits

updated Apr 6, 2023

See the code

README

NOT MAINTAINED

  • I have not used this code in a long time
  • No issues or PRs can be created
  • Latest release doesn't work with newer versions of numpy
  • I recommened moving to a native alternative in Tensorflow or PyTorch

word2vec

pypi build coverage license

Python interface to Google word2vec.

Training is done using the original C code, other functionality is pure Python with numpy.

Installation

pip install word2vec

Compilation

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.

Usage

Example notebook: word2vec

The default functionality from word2vec is available with the following commands:

  • word2vec
  • word2phrase
  • word2vec-distance
  • word2vec-word-analogy
  • word2vec-compute-accuracy

Experimental functionality on doc2vec can be found in this example: doc2vec

doc2vec
python
word2vec

danielfrg/word2vec

Python interface to Google word2vec

C

2,614

201 commits

updated Apr 6, 2023

See the code

README

NOT MAINTAINED

  • I have not used this code in a long time
  • No issues or PRs can be created
  • Latest release doesn't work with newer versions of numpy
  • I recommened moving to a native alternative in Tensorflow or PyTorch

word2vec

pypi build coverage license

Python interface to Google word2vec.

Training is done using the original C code, other functionality is pure Python with numpy.

Installation

pip install word2vec

Compilation

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.

Usage

Example notebook: word2vec

The default functionality from word2vec is available with the following commands:

  • word2vec
  • word2phrase
  • word2vec-distance
  • word2vec-word-analogy
  • word2vec-compute-accuracy

Experimental functionality on doc2vec can be found in this example: doc2vec

doc2vec
python
word2vec

Project health

Overall

2.8/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Latest release

0.11.1 · May 8, 2020

Releases this year

0

Significant stargazers

Di Wu

76 followers · starred Apr 2020

Christian Klotz

111 followers · starred May 2016

Botao Yu

44 followers · starred Feb 2019

chebee7i

66 followers · starred Mar 2015