Chinese-Text-Scanner

AnkiWeb addon 2121493325

Scans text or pasted files for Chinese words not already in an Anki collection, adding notes with tone colors and audio, configurable by note type and new-character filtering.
AI-generated summary; may contain mistakes.

card-creation

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (👍 1 · 👎 0)
Updated
2020-06-28
Anki versions
2.1.26~
Description language
en

Maintenance

abandoned

  • Last update or commit was 1393 days before the snapshot (2022-12-08).
  • The repository has 11 test files.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.26+2020-06-28
History across monthly snapshots

Loading…

Similar addons

Chinese Simplified → Traditional

Converts Simplified Chinese to Traditional Chinese and generates pinyin with tone marks automatically when leaving the Hanzi field in Anki.

card-creation

Rating 0 👍 0 · 👎 0 ⭐ 0 Anki 26.08.1~ Updated 2026-08-15
Chinese Words Finder

Finds CC-CEDICT Chinese words using only characters from selected decks, missing HSK words, and analyzes character frequency, with results sorted by frequency or HSK level.

card-creationstatisticsdictionary

Rating 8 👍 8 · 👎 0 ⭐ 5 Anki 2.1.26~ Updated 2020-07-07

README

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'

Testing:

  1. make test

Building:

  1. (optional) Add any new packages you want to use into requirements-minimal.txt
  2. make build - creates temporary virtualenv and grabs any dependencies we need

Package up a new zip file to publish:

  1. Put the version you want in chinese/_version.py
  2. make package - cleans, builds, creates a new zip file in build/ dir

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