Skip to content

v40.29.0.post7

Choose a tag to compare

@github-actions github-actions released this 16 Jul 05:13
e821b4d
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>