This program aims to auto-highlight potentially difficult vocabulary from a piece of article/news, based on the English level.
- Go to http://download.huzheng.org/zh_CN/, download the
lazyworm-ecdictionary into thebackendfolder. - Unzip the
lazyworm-ec.dict.dzto a file calledlazyword-ec. - On the first run, run
scripts/init_dict.py, it should generatelazy_dict_idx.json.
First export your environment setting in terminal
export YOURAPPLICATION_SETTINGS=[dev|prod].settings.cfg
cd backend && python3 app.py
cd backend && gunicorn --bind 127.0.0.1:5000 wsgi:app
new way to install scipy language pipeline:
python -m spacy download en_core_web_sm==2.2.5