Skip to content

bruce-yang/word2vec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

word2vec

Python interface to Google word2vec.

Training is done using the original C code plus some patches, the other funcionality is pure python + numpy.

Installation

pip install word2vec

I highly recommend the use the Anaconda python distribution

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
  • w2v-distance
  • w2v-word-analogy
  • w2v-compute-accuracy

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

Releases

No releases published

Packages

No packages published

Languages

  • C 72.3%
  • Python 17.2%
  • Shell 10.5%