Skip to content

pocman/word2vec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

word2vec

travis-ci

Python interface to Google word2vec.

Training is done using the original C, other funcionality is pure python + numpy.

Installation

pip install word2vec

I recommend the Anaconda python distribution

Note: Only linux and OS X are supported.

Development

Clone the repo and pip install -e .

Usage

The easiest way is to 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 funcionality on doc2vec can be found in this other example: doc2vec

Issues

Some people reported that they needed to do this if running OS X: http://stackoverflow.com/questions/15590169/ld-library-not-found-for-lgfortran-mac-symlink-issue

About

Python interface to Google word2vec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 79.0%
  • Python 20.1%
  • Makefile 0.9%