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.gz
from here, and extract it into the parent directory of this project.
Run python dump-vecs.py
to create an SQLite database and store the main vectors.
Run python dump-hints.py
to create a hints pickle. Wait a very long time.
Run python store-hints.py
to import the pickle into the DB.
Run python semantle.py
for the web server.
black .
to reformat all Python files