Scaffold the curator: jmdict-simplified → Halkyon archive (V3-1) #2
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
project-halkyon/halkyon-curator!2
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/2/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First working slice of the curator (roadmap §27 / V3). A Dart CLI that
reads a jmdict-simplified JSON file and emits a Halkyon archive
(.halkyon) of
vocabularyflashcards — the inverse end of the importflow shipped in halkyon-learn.
Pipeline:
headword forms (+ common flag), kana readings, per-sense
parts-of-speech + English glosses.
learner-facing tag names (v5* → godan verb + verb; v1 → ichidan
verb + verb; adj-i → i-adjective + adjective; adj-na →
na-adjective + adjective; n → noun; …). Partial by design — codes
without a useful tag contribute nothing rather than leaking raw
codes.
studyset of vocabulary cards (expression / kana reading / meanings;
kana-only words get an empty reading), tagged with their POS + a
commontag. --limit and --common-only narrow the output.halkyon-learn's archive reader; flashcard_content.dart mirrors
plainTextToFlashcardContent so imported cards open cleanly.
Licensing: JMdict is © EDRDG, CC BY-SA 4.0. Every emitted studyset is
stamped
license: CC-BY-SA-4.0with an EDRDG attribution line in itsdescription. (POS + common are intrinsic to JMdict; JLPT tags via
yomitan-jlpt-vocab are the next slice, V3-2.)
Tests cover the parser (common flag, non-English gloss filtering), the
curator (kanji vs kana-only mapping, meaning dedup, POS + common tags,
tag dedup/reuse, limit, common-only) and a JSON round-trip. The CLI
runs end to end on a sample file.
Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me