Play at https://qwertyasdef.github.io/Semantle-Unlimited/!
Alternatively, download the code and run python local_server.py and go to localhost:8000 in your browser to play locally.
Copied from https://gitlab.com/novalis_dt/semantle.
Original README ↓
So, this is sort of hacked together from a lot of data sources and the code is a mess. Here's a hello world of how to get up and running.
-
Install Python requirements using
pip install -r requirements.txt. -
Download
GoogleNews-vectors-negative300.bin.gzfrom here, and extract it into the parent directory of this project. -
Run
python dump-vecs.pyto create an SQLite database and store the main vectors. -
Run
python dump-hints.pyto create a hints pickle. Wait a very long time. -
Run
python store-hints.pyto import the pickle into the DB. -
Run
python british.pyto figure out which British words have been respelled in word2vec, so that we can respell them for users. They come from here. -
Run
python semantle.pyfor the web server.
black . to reformat all Python files