This project represents the 300-dimensional word vectors from word2vec as JSON.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/js Bumps version number to 0.2.1 Nov 26, 2016
data Includes files containing 1000, 5000, and 25000 words. Jan 8, 2016
README.md Updates README with gh-pages link. Jan 9, 2016
index.html Fixes links Nov 26, 2016

README.md

Word2Vec JSON

Word2vec represents words as vectors whose components encompass what the words mean. Algebraic operations on those vectors, like "king" - "man" + "woman", yield intuitively correct results, like "queen". This project provides the word vectors for the 1000, 5000, 10000, and 25000 most common English words in JSON.

Demo at http://turbomaze.github.io/word2vecjson/.

Usage

To use these vectors in a project, include the data/wordvecs10000.js file and you're set. It's a JS object whose keys are words and values are word vectors (arrays of doubles). Included in this project is a script (assets/js/word2vecutils.js) with some common utility functions for playing around with word vectors.

License

MIT License: http://igliu.mit-license.org/