Anki add-on: Japanese Part of Speech

Add Japanese parts of speech to your cards! 📝 Description Japanese Part of Speech is an offline Anki add-on that fetches and assigns Japanese parts of speech to your cards. It uses a bundled SQLite database built from JMdict, allowing it to function entirely locally without external API calls. 🚀 Usage 1. Initial Setup (Field Mapping) The first time you use the add-on on a new Note Type, it needs to know which fields to use. By default, it looks for fields named Expression , Kana Reading , and Part of Speech . If your fields are named differently, a dialog box will appear prompting you to map them. These settings are saved automatically, so you only have to do this once per Note Type. 2. Updating a Single Note Open the Anki Editor. Enter your target word into your expression field. Click the 品 button in the editor toolbar. The add-on will read the word and reading, fetch the data, and populate the part of speech field instantly. 3. Bulk Operations To process multiple notes or manage the add-on, click Tools > Part of Speech in the main Anki window. You have the following options: bulk add: Automatically fetch and populate missing part of speech data for all notes in a selected deck and note type. bulk remove: Clear the part of speech field from a specific deck and note type. find empty: Opens the Anki Browser with a pre-configured search query to show all notes missing part of speech data. reset mappings: Clears your saved field configurations if you modify your note types or made a mistake during setup. 🏷️ Part of Speech Formatting Examples of data mapping: Godan verb with 'ku' ending (+ transitive verb) ➔ Verb (5-dan, く, transitive) adjectival nouns or quasi-adjectives (keiyodoshi) (+ slang) ➔ Adjective (な), Slang noun or participle which takes the aux. verb suru (+ sonkeigo) ➔ Verb (する), Honorific Godan verb - Iku/Yuku special class (+ historical term) ➔ Verb (5-dan, いく/ゆく), Old-fashioned Yodan verb with 'bu' ending (archaic) ➔ Archaic, Verb (4-dan, ぶ) Supported Categories Core POS: Noun, Verb, Adjective, Adverb, Particle, Copula, Counter, etc. Verb/Adjective Classes: 1-dan, 5-dan, 4-dan, irregular, suru, い-adj, な-adj, たる-adj. Stylistic/Misc Labels: Colloquial, Slang, Honorific, Humble, Polite, Obscure, Onomatopoeic, Idiomatic, Vulgar, Internet Slang, and more. ☕ Support If you found this helpful, you can support me here: ⚖️ License & Acknowledgements MIT License This project is licensed under the MIT License. See the LICENSE file for full details. JMdict (EDRDG) This add-on uses the JMdict dictionary file. These files are the property of the Electronic Dictionary Research and Development Group, and are used in conformance with the Group's licence. ELECTRONIC DICTIONARY RESEARCH AND DEVELOPMENT GROUP GENERAL DICTIONARY LICENCE STATEMENT This dictionary file is the property of the Electronic Dictionary Research and Development Group (EDRDG), and is used in conformance with the Group's licence .

GitHub repository: codec266/anki-jp-pos-add
Repository description: Anki add-on that automatically adds japanese parts of speech information to your cards.
Languages: Python
Topics: anki, anki-addon, japanese-learning, japanese-study, sentence-mining