Entity forms carry a ruled pronunciation; lower --ipa emits it #13
Loading…
Reference in a new issue
No description provided.
Delete branch "weksa-lowering/entity-pronunciation"
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?
What it does
LanguageForms.pronunciation: Option<Pronunciation>: bare stress-marked IPA for the citation form, plusruled_by,date,source, and an optionalrejectedlist. Old stores read unchanged (serde(default))./[ ], no control/edge whitespace; date isYYYY-MM-DD; rejected variants are well-formed, unique, and differ from the ruled one. Once set a ruling is frozen (changing it isEntityNotAppendOnly); an unruled entity can gain one.lower::pronounceandweksa lower <store> <key> --ipa: print the stored IPA of each entity referent, one per line.NoPronunciation { entity }if the entity has no en-US ruling,NoEntityReferentif the packet cites none. Rejected variants are never read.weksa entity put --pronunciation en-US=IPA --ruled-by --ruled-on --ruling-source [--rejected IPA]....entity:nibu=ˈnibu(tense vowel, two syllables, stress on first), ruled by Nibu 2026-11-07, rejectedˈnɪbu.docs/english-pronunciation-lowering.md.What it does not do
PhoneticIntenttype.Tests
cargo test -p weksa: 156 passed, 0 failed, 1 ignored (pre-existing). New: Nibu round-trips from the committed seed; rejected variant never emitted; missing pronunciation refused (and other-language ruling not used); no entity referent refused; store add-once/frozen and malformed refusals; CLI refuse-then-emit.🤖 Generated with Claude Code