Forked from jrmy1/wbxhzshwzxhn
This project was created to facilitate learning of reading and writing Chinese. It reads chinese books from 'sto.cx', parses them, and outputs static html files with the following functionality:
- Chinese text found on the page is parsed into Chinese tokens
- Displays pinyin of the found token
- Displays definitions of found tokens in the chinese text
- Clone repo
- Create .venv
virtualenv .venv
- Install requirements from Pipfile
pipenv install
- Run
./src/script.py $book
wherebook
is the number of a book found on 'sto.cx' - Wait. Books usually take ~1-2min
- Output files are found at ./out/
- Run the command to empty out the artifacts generated by the script
pipenv run clean