NewsJelly / semantle-ko

https://semantle-ko.newsjel.ly/
Other
204 stars 40 forks source link

꼬맨틀 — 단어 유사도 추측 게임

이 레포지터리는 Johannes Gätjen의 Semantlich (소스코드)를 포크하여, 한국어로 플레이할 수 있도록 수정한 것입니다.

Setup

Download Word2Vec and dictionary data:

cd data
wget https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.ko.300.vec.gz
gzip -d cc.ko.300.vec.gz
wget https://github.com/spellcheck-ko/hunspell-dict-ko/releases/download/0.7.92/ko-aff-dic-0.7.92.zip
unzip ko-aff-dic-0.7.92.zip

Filter and save word2vec in DB

docker-compose run --rm --entrypoint python app filter_words.py
docker-compose run --rm --entrypoint python app process_vecs.py

(Optional) Regenerate secrets

docker-compose run --rm --entrypoint python app generate_secrets.py

Start server

docker-compose up