Skip to content

cnDelbert/word2vec-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 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.

I'll try to satisfy both Python 2.7 and Python 3.x.

Installation

You can clone or download this repo from Github and copy the word2vec folder to you site-packages directory.

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

Requirement

numpy>=1.7.1

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. Forked from https://github.com/danielfrg/word2vec .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published