Skip to content

This project represents the 300-dimensional word vectors from word2vec as JSON.

Notifications You must be signed in to change notification settings

turbomaze/word2vecjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

This project represents the 300-dimensional word vectors from word2vec as JSON.

Resources

Stars

Watchers

Forks

Packages

No packages published