Skip to main content

Wrapper for Google word2vec

Project description

word2vec

travis-ci

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 requirements are gcc and Cython - Run pip install Cython prior to the installation.
  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.

Usage

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.

Source Distribution

word2vec-0.10.3.tar.gz (63.5 kB view details)

Uploaded Source

File details

Details for the file word2vec-0.10.3.tar.gz.

File metadata

  • Download URL: word2vec-0.10.3.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for word2vec-0.10.3.tar.gz
Algorithm Hash digest
SHA256 67d64344be02c92a02b841cc4ba5f865ce13553e2db501c72ca33741266265d4
MD5 98caa5dff8fc3095d93e4ffc406eefea
BLAKE2b-256 38fbb7a1ce0235f070afcc8f7ef2b901f9f98a2b0f65eaa7e53d0f63aebfa90a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page