Anki plugin to generate Chinese flashcards for a given text (e.g. an article)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE.md
Makefile
README.md
__init__.py
appveyor.yml
package.py
requirements.txt

README.md

Chinese-Prestudy

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.

Travis Build Status Appveyor Build Status

Developing

If you want to contribute back to this project, follow these instructions:

Setup

  1. You'll want a computer running Linux. macOS may work too. Windows will not.
  2. You need Anki 2.1 installed.
  3. Install Python dependencies:
pip3 install --user chinesevocablist chineseflashcards genanki jieba cached_property pystache yaml

Running

To try out your code, run

make install

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

make test

Some changes may belong in chinesevocablist, chineseflashcards, or 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.