JLPT Color Tags

AnkiWeb addon 368576817

Looks up Japanese vocabulary on Jisho to color card fields by easiest JLPT level and add JLPT or Common tags, with configurable fields, decks, and preserved HTML.
AI-generated summary; may contain mistakes.

note-managementtaggingformattingdictionary

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
5 (πŸ‘ 5 Β· πŸ‘Ž 0)
Updated
2025-11-15
Anki versions
25.09.2~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-11-15 (351 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
24.06.3–2025-09-20
25.09.2+2025-11-15
History across monthly snapshots

Loading…

Similar addons

Japanese Note Auto-Generator

Auto-generates Japanese vocabulary notecards from a word list via the Jisho.org API, including definitions, readings, JLPT level, kanji explanations, furigana and example sentences, placed in a custom deck.

card-creationdictionary

2 votes 0% approval πŸ‘ 0 Β· πŸ‘Ž 2 Anki 2.1.16~ Updated 2021-05-23
Jisho Support

Automates Japanese flashcard creation by populating fields from jisho.org, optionally downloading audio, and supporting multiple meanings, parts of speech, tags and related fields.

card-creationdictionary

9 votes 56% approval πŸ‘ 8 Β· πŸ‘Ž 1 Updated 2021-05-14

Description

JLPT Color Tags 🎌✨

Automatically colorize and/or tag your Japanese cards by JLPT level using Jisho.org

🌟 Features

  • Looks up the lookup field to determine JLPT level (always picks the easiest level if multiple are listed, e.g., JLPT-N5 over JLPT-N1).
  • Colors configured fields only if ENABLE_COLORING is true:
    • N1 β†’ πŸ”΄ Red (hardest)
    • N2 β†’ 🟠 Orange
    • N3 β†’ 🟑 Yellow
    • N4 β†’ 🟒 Green
    • N5 β†’ πŸ”΅ Blue (easiest)
    • None + Common β†’ 🟣 Purple (special case)
  • Adds JLPT tags (JLPT-N5 … JLPT-N1) and a Common word tag if the word is marked as common on Jisho. 🏷️
  • Preserves existing HTML (e.g., <br>, <i>, <b>) in your fields while applying JLPT colors.
  • Respects manual tag edits β€” recolors fields if you add/remove JLPT tags yourself.
  • Configurable per-level skipping: you can skip rescanning cards already tagged with specific JLPT levels (or JLPT-None) to speed up future runs.
  • Auto-updates colors: if you change colors in the config, running the add-on again will update all cards to match.
  • Deck filtering: only modifies notes in the decks specified in TARGET_DECKS. Use "current" to target the currently open deck, or specify deck names explicitly.

πŸ›  How it works

  • Queries Jisho for the first word in the lookup field.
  • Determines the JLPT level: if multiple levels are found, the easiest (highest number, N5 > N1) is chosen.
  • Checks the associated reading (LOOKUP_FIELD2) if provided to ensure the correct word variant is selected.
  • Updates colors and tags on the card based on JLPT results.
  • Cards already tagged with JLPT levels can be skipped depending on your config.
  • Recoloring happens only if ENABLE_COLORING is true, otherwise fields remain untouched.
  • Progress window shows the number of notes processed. The final window shows how many were updated from Jisho this session.

⚠️ Notes & Limitations

  • Existing HTML formatting (like <br>) is preserved; only old <font> wrappers are replaced with JLPT coloring.
  • Some words may not have JLPT data on Jisho; in that case, JLPT-None is added (or skipped if already present).
  • Colorization applies to all configured fields, but JLPT lookup is always based on the configured LOOKUP_FIELD only.
  • Lookup and coloring are skipped for cards outside of decks specified in TARGET_DECKS.
  • First token of the expression and reading is used for lookup (space-delimited). Any extra text after the first token is ignored.
  • Only the word chosen as the β€œbest candidate” has its JLPT and Common flags applied

βš™οΈ Customization

In the add-on Config, you can adjust:

  • LOOKUP_FIELD β†’ which field to query Jisho for JLPT data
  • LOOKUP_FIELD2 β†’ which field to provide the Reading of the associated LOOKUP_FIELD
  • ENABLE_COLORING β†’ toggle coloring on/off (tags are still applied)
  • JLPT_COLORS β†’ customize colors for each JLPT level
  • COMMON_NONE_COLOR β†’ color for Common + JLPT-None cards
  • TARGET_FIELDS β†’ specify which fields should be colored
  • TAGS β†’ choose which tags to apply (JLPT- tags and Common)
  • SKIP_JLPT_LEVELS β†’ control which JLPT-tagged cards are skipped in future scans
  • TARGET_DECKS β†’ limit processing to certain decks; "current" targets the active deck, or use exact deck names

🎯 Summary

JLPT Color Tags colors and tags your Japanese vocabulary using Jisho, chooses the most learner-friendly JLPT level when multiple are present, preserves your formatting, and respects manual adjustments to tags

Perfect for visualizing your JLPT progression, keeping cards organized, and only touching the decks you want. πŸ’‘πŸ“š

πŸ“ Changelog

v1.3.2 β€” 2025-11-15

  • Version bumped to new Anki version (25.09.2)

v1.3.1 β€” 2025-09-20

  • Fixed an issue where notes that only had their fields recolored (without JLPT/Common tag changes) were not counted as updated.
  • Recoloring-only changes are now included in the update count, ensuring consistency when scanning decks with ENABLE_COLORING enabled.

v1.3.0 β€” 2025-09-18

  • JLPT level detection now selects the easiest level when multiple JLPT results exist (e.g., ["jlpt-n1", "jlpt-n5"] β†’ JLPT-N5).
  • Checks the reading field (LOOKUP_FIELD2) to match the correct word variant when multiple variants exist for the expression.
  • Only the JLPT and Common info from the selected β€œbest candidate” is applied; other candidates are ignored. Prior versions always chose the first result. This should hopefully result in smarter searches based on the expression and reading provided to Jisho.
  • Uses the first token only of the expression and reading for Jisho lookups; extra text after the first token is ignored.

v1.2.0 β€” 2025-09-16

  • Added LOOKUP_FIELD to config to allow querying a field other than Expression.
  • Added ENABLE_COLORING to config β€” fields are not modified if coloring is disabled.
  • Added TARGET_DECKS to config, only specified decks are modified. "current" is default.