- Download GoogleNews-vectors-negative300.bin.gz from https://code.google.com/p/word2vec/
conda create -n word2vec_demo python=2.7 ipython-notebook matplotlib pandas pip seaborn gensim; source ~/anaconda/bin/activate word2vec_demo; pip install flask-restful
python word2vec_convert.py
(takes 3+ minutes on my MacBook).python word2vec_api.py
(takes 30 seconds on my MacBook).open -a Google\ Chrome --args --disable-web-security index.html
(You might need to close Chrome if it's already open).
-
Notifications
You must be signed in to change notification settings - Fork 3
word2vec demo for #hourofcode using gensim
License
mdbecker/word2vec_demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
word2vec demo for #hourofcode using gensim
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published