https://github.com/alex-lew/robot-mind-meld
A little game powered by word vectors
https://github.com/alex-lew/robot-mind-meld
python3 sanic vuejs2 word-embeddings word-game word-vectors
Last synced: about 1 month ago
JSON representation
A little game powered by word vectors
- Host: GitHub
- URL: https://github.com/alex-lew/robot-mind-meld
- Owner: alex-lew
- License: mit
- Created: 2017-12-27T16:47:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-06T15:31:07.000Z (over 7 years ago)
- Last Synced: 2025-07-18T04:34:05.950Z (3 months ago)
- Topics: python3, sanic, vuejs2, word-embeddings, word-game, word-vectors
- Language: JavaScript
- Size: 387 KB
- Stars: 32
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robot Mind Meld
A little game powered by word vectors, live at http://robotmindmeld.comTo run locally, you'll need to download the Conceptnet Numberbatch word vectors. This is done automatically by the `words/create_data_file.py` script, which also saves a processed version (normalized & containing only American English words) to `embeddings.h5`. It's safe to delete `mini.h5`, the full set of word vectors, once the script has finished running!
Python dependencies are:
- numpy
- nltk (used for stemming)
- wordfreq (used for tokenization)
- h5py (saving & reading embeddings from file)
- sanic (web server)In short:
```
(cd frontend && npm install && npm run build)
pip3 install -r requirements.txt
(cd words && python3 create_data_file.py)
python3 server.py
```Then browse to http://0.0.0.0:8000 :-)