Chinese-Prestudy is an Anki 2.1 plugin that helps you generate flashcards for a body of text so that you can learn the text's vocabulary before you read it.
There is more information, including usage instructions, in this blog post.
If you want to contribute back to this project, follow these instructions:
- You'll want a computer running Linux. macOS may work too. Windows will not.
- You need Anki 2.1 installed.
- Install Python dependencies:
pip3 install --user chinesevocablist chineseflashcards genanki jieba cached_property pystache pyyaml
To try out your code, run
and restart Anki to see the effects. You may need to uninstall your existing copy of the plugin if you got it from AnkiWeb, otherwise you'll have two copies of the plugin installed.
There are also some (currently, not very many) unit tests. You can run those with
Some changes may belong in
genanki. If you want to change one of these packages, check it out from GitHub, make your change, and then run
make install in the package's directory followed by
make install in this directory and restart Anki.
If your name is Kerrick, you can publish new versions to AnkiWeb by following these steps:
package.ankiaddonin Anki, and restart. Test thoroughly.
- Go to https://ankiweb.net/shared/upload?id=882364911 and upload the new version of the package.