GithubHelp home page GithubHelp logo

mingjunw / word2vec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielfrg/word2vec

0.0 0.0 0.0 6.5 MB

Python interface to Google word2vec

License: Apache License 2.0

Python 44.34% C 54.39% Makefile 0.82% Dockerfile 0.08% Shell 0.37%

word2vec's Introduction

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

word2vec's People

Contributors

danielfrg avatar stephenbalaban avatar tjwei avatar iamalbert avatar alfioemanuelefresta avatar fabmue avatar mariarigaki avatar pranjalv123 avatar tianhuil avatar tyler-thetyrant avatar sakurai-youhei avatar abolger avatar dr-costas avatar hsmtkk avatar mayjs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.