Skip to content

danmedani/anki-scanner-chinese-redux

 
 

Repository files navigation

Chinese Text Scanner

This will scan a text file, find any chinese words that contain new characters not already in the provided anki collection, and then produce an .apkg file which can be imported into anki. The import file will contain notes for all the new words, including tone colors and audio files powered by the chinese-support-redux project.

Usage:

  1. Install the addon and restart anki (refer to https://ankiweb.net/shared/info/2121493325)
  2. TextScan will be added to the anki menu. Go there to open the scan dialog
  3. The scan will produce a .apkg file which includes fully detailed notes, but it does not contain detailed card templates
  4. In anki, select the imported notes and choose "change note type" to the port the new notes into your existing note types to utilize your existing card templates.

Dev Mode:

Here's an easy way to get started deving:

  1. Clone this, then create a symlink from anki's addon folder to the /chinese directory here
  2. Set dev_mode to true in the textScanner config section
  3. You'll need to restart Anki for the setting to take effect. You should notice the menu header gets a "_dev" appelation and a new menu item to probe the sqlite db. Tip: 'master' is a shortcut for 'select * from sqlite_master'

Based on Chinese-Support-Redux by Joseph Lorimer which is based on the Chinese Support add-on by Thomas TEMPÉ and many others.

Screenshot #1

Screenshot #2

About

adding text scanning features for chinese redux in anki

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Other 0.9%