Class: Ucode::Models::UnihanEntry

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ucode/models/unihan_entry.rb

Overview

Unihan dictionary data for CJK codepoints. Flat-hash design: every ‘kFoo` field is a key in `fields`, with array values (Unihan fields are space-separated lists; uniform arrays simplify the shape).

The semantic grouping (readings / radicals / variants / sources / etc.) is a presentation concern, derived client-side by prefix. The data model stays open — Unihan adds fields across versions, and the hash absorbs additions without model changes.