Skip to main content

Wrapper for Google word2vec

Project description



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:

  1. The only requirement is gcc.
  2. You can override the compilation flags if needed: W2V_CFLAGS='-march=corei7' pip install word2vec

Windows: There is some support for this support based on this win32 port. Use at your own risk.


Look at this example: word2vec

The default functionality from word2vec is also available from the command line as:

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

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for word2vec, version 0.10.2
Filename, size & hash File type Python version Upload date
word2vec-0.10.2.tar.gz (60.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page