Skip to content

sim-so/semantle-jp

Repository files navigation

イミトル(Semantle日本語版) - 単語類似度パズル

このリポジトリはJohannes GätjenさんのSemantlichをフォークしたものです。

設置 Settings

Create virtualenv

python3.10 -m venv semantle-jp
source semantle-jp/bin/activate

Install requirements

pip install -r requirements.txt

Download Word2Vec

cd data
wget https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.ja.300.vec.gz
gzip -d cc.ja.300.vec.gz

Save word2vec in dba

cd ..
python process_vecs.py

(optional) Regenerate secrets

python generate_secrets.py

Start flask/gunicorn (on ssh)

export FLASK_APP=semantle
nohup gunicorn semantle:app &

Restart after pull

ps aux | grep gunicorn
kill -HUP <gunicorn pid>

Releases

No releases published

Packages

No packages published