Skip to content

Commit 1cb1771

Browse files
hellpanderrrclaude
andcommitted
fix(macronizer): Morpheus accents now reach the output for unknown words
Sync of the engine fix (latin-macronizer-wasm 797f779). Words absent from macrons.txt were macronized by the tag_to_endings heuristic instead of Morpheus's analysis, because (1) the accented form kept the ",lemma" suffix from Morpheus beta-code, and (2) addEntry left a stale empty entriesCache so getAccents never saw the row it had just written. currito -> curritO (was currItO), diffregit -> diffrEgit (was all-short). Verified first-visit and return-visit; macronizer e2e + 81 node tests pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent df45444 commit 1cb1771

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

wiktionary_pron/macronizer/dist/analysis/MorpheusAnalyzer.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wiktionary_pron/macronizer/dist/analysis/WordlistEngine.js

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)