You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(homophones): use g2p2 articulatory phonetic similarity (#19)
Integrate jqueguiner/g2p2 (zero-dep G2P + phonetic similarity) into the
homophone scorer:
- balanced method: IPA term now uses g2p::similarity(Method::Weighted) —
articulatory feature-weighted phoneme alignment instead of char levenshtein.
- ipa method: selects candidates by g2p similarity threshold.
Dominique/FR -> Dominik/Dominick/Domenico; Sophie -> Sophia/Sofia (no Xavier).
g2p pulled in under the real-names feature (git dep). Tests green.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>