"Where have I seen this Kanji before?" "This part looks familiar."
This project aims to help Japanese language learners overcome the common problem of mixing up similar-looking Kanji characters. This tools takes a Kanji character as input, breaks down the character into components, and generates a list of similar Kanji characters based on the components of the input character. If you specify an Anki collection, it will find similar Kanji from the cards in your Anki deck.
To use this project, you will need:
- KanjiVG data: Download the KanjiVG dataset from http://kanjivg.tagaini.net. This dataset provides detailed vector graphics AND ^component information for each Kanji character.
- Anki collection export: Export your Anki collection as a
collection.anki2file. This will allow the tool to integrate with your existing flashcard deck.
- Clone this repository or download the code.
- Install the required dependencies (listed in
requirements.txt). - Place the KanjiVG data in the
datadirectory. - Place your
collection.anki2file in thedatadirectory. - Run the tool to generate a comprehensive Kanji learning deck.
python -m kanji_scanner.query_kanji 韋This project relies heavily on the excellent work of the KanjiVG project, available at http://kanjivg.tagaini.net. We gratefully acknowledge the efforts of the KanjiVG team in creating this valuable resource.