A rewrite and port of the Chinese Support add-on to Anki 2.1.
- Automatic field filling
- Translation (from built-in dictionary; supports English, German and French)
- Romanisation (supports Pīnyīn (拼音) and Cantonese Jyutping (粵拼))
- Mandarin Audio (fetched from Google or Baidu)
- Traditional (繁體字) and simplified (簡體字) characters
- Bopomofo (ㄅㄆㄇㄈ), also known as Zhuyin (注音)
- Tone colours (applied to characters, romanisation and Bopomofo)
- Built-in note types (Basic and Advanced)
The vast majority of features have been successfully ported, and the add-on is in a usable state, albeit with some definite rough edges.
The add-on is still in beta. By this I mean “it works, but I wouldn’t trust it with my children”. Expect occasional issues, and please make a back-up before trying it. I use it myself and haven't experienced data loss, but your mileage may vary.
Please report any issues here on GitHub. Feature requests are also welcome.
If you are new to the Chinese Support add-on, the wiki from the previous version is still relevant (here).
The core feature of the add-on is the automatic field filling. To take advantage of this, you need to have an Anki note type with the appropriate fields (e.g., Hanzi
, Meaning
, Reading
, Sound
). If you don't already have such a note type, the easiest way to create one is to use the built-in model:
- Navigate to Tools → Manage Note Types (or press Ctrl+Shift+N)
- Click
Add
- Select
Add: Chinese (basic)
- Click
OK
- Click
OK
again - Click
Close
Then, to use the field filling features:
- Add a new note to Anki (press a)
- Select
Chinese (basic)
as the note type - Enable Chinese Support Redux for this note type (click
汉字
) - Enter a word (e.g., 電話) in the
Hanzi
field - Press Tab
- The remaining fields should then be populated automatically
- 2018.11.30
- Update gTTS-token (fixes TTS error)
- 2018.11.15
- Expand tests
- Fix and refactor definition filling code
- Fix incorrect fill counts
- 2018.11.14
- Remove bogus tone number from TTS input
- Simplify inclusion of required libs
- 2018.11.13
- Fix incorrect model names
- Expand and refactor tests
- 2018.11.09
- Fix field filling for alternative forms
- Fix bulk field filling
- Fix and relocate menu
- Add models automatically on start-up
- Refactor tests
- Tweak configuration
- 2018.10.26
- Fix Pinyin and Bopomofo coloring
- Fix classifier rubies (show one ruby per classifier)
- Handle non-hanzi in Hanzi field slightly more gracefully
- Only attempt to add DB indices on first run
- 2018.10.25
- Major refactoring and test expansion
- Functions under test should be more reliable
- Functions not under test are still black magic
- Fix several issues with Bopomofo handling
- Fix filling of classifier field
- Make splitting of Pinyin optional (internally)
- Major refactoring and test expansion
- 2018.10.12
- Improve handling of Pinyin (will no longer split)
- Refactor start-up code
- Expand and refactor tests
- 2018.10.11
- Bundle Google TTS dependencies
- Improve character selection (courtesy of infernalis)
- 2018.10.10
- Refactor TTS code
- Remove Cantonese TTS (discontinued by Google)
- 2018.10.09
- Restore Google TTS (again)
- Begin seriously starting to wrap tests around this old, buggy code
- 2018.02.17
- Fix Fill Incomplete Notes functionality
- 2017.11.14
- Fix more issues with automatic field population
- Move field names into configuration file
- 2017.11.10
- Use Anki 2.1 built-in config facilities
- 2017.11.07
- Fix issues with automatic field population
- 2017.11.06
- Restore Google TTS (for Mandarin and Cantonese)
- 2017.11.05
- Initial port to Anki 2.1 (most features working)
- Restore tone colours in editor