Pronunciation describes the word on the card
Pronunciation now describes the word on the card, in every mode and in
English. No migration: the fields added in v0.5.0 are unchanged, and this
only alters what goes into them.
Fixed
-
Cross-language mode put the wrong word's pronunciation on the card.
With--def-lang,ipaandaudio_urlwere read from the translated
word's index entry, so a German video with--def-lang frshowedHaus
carrying maison's\me.zɔ̃\and a French recording. Examples, synonyms
and antonyms were already gated against exactly this; pronunciation had
been added beside the gate without being inside it.Pronunciation is now resolved once, by
_resolve_pronunciation(lemma, language), independent of which source supplied the definition. No
definition branch touches it. SeeARCHITECTURE.md8.34.
Added
- English pronunciation. dictionaryapi.dev returns real IPA (
/haʊs/)
and a complete audio URL in aphoneticsblock, on a call the pipeline
already made and never parsed. English cards now carry pronunciation even
when Merriam-Webster supplied the definition. - Pronunciation on English fallback cards, through the same resolver.
Changed
CLAUDE.md§3.3 is now stated as a question — does this field describe
the word shown? — rather than a list of three field names. Written as a
list, it was violated three times, each by someone adding a fourth thing
beside the gate.