# word2vec **Repository Path**: skyarn/word2vec ## Basic Information - **Project Name**: word2vec - **Description**: Python interface to Google word2vec - **Primary Language**: C - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README word2vec ======== [![travis-ci](https://api.travis-ci.org/danielfrg/word2vec.svg)](https://travis-ci.org/danielfrg/word2vec) Python interface to Google word2vec. Training is done using the original C code, other functionality is pure Python with numpy. ## Installation ``` 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](https://github.com/zhangyafeikimi/word2vec-win32). Use at your own risk. ## Usage Look at this example: [word2vec](http://nbviewer.ipython.org/urls/raw.github.com/danielfrg/word2vec/master/examples/word2vec.ipynb) 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](http://nbviewer.ipython.org/urls/raw.github.com/danielfrg/word2vec/master/examples/doc2vec.ipynb)