Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

word2vec

> 编程语言
Open source

Python interface to Google word2vec

2.6K stars0 likes0 views
WebsiteGitHub

About

Python interface to Google word2vec

NOT MAINTAINED

  • I have not used this code in a long time
  • No issues or PRs can be created
  • Latest release doesn't work with newer versions of numpy
  • I recommened moving to a native alternative in Tensorflow or PyTorch

word2vec

Python interface to Google word2vec.

Training is done using the original C code, other functionality is pure Python with numpy.

Installation

bash
pip install word2vec

Compilation

The installation requires to compile the original C code using gcc.

You can override the compilation flags if needed:

WORD2VEC_CFLAGS='-march=corei7' pip install word2vec

Windows: There is basic some support for this support based on this win32 port.

Usage

Example notebook: word2vec

The default functionality from word2vec is available with the following commands:

  • word2vec
  • word2phrase
  • word2vec-distance
  • word2vec-word-analogy
  • word2vec-compute-accuracy

Experimental functionality on doc2vec can be found in this example: doc2vec

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Cdoc2vecpythonword2vec

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言