Repository navigation
v0.2.0
Pre-release
Pre-release
Add espeak-ng/Piper-compatible IPA output Adds G2P.toEspeakIpa(text), producing the exact phoneme vocabulary and stress-marker placement a Piper-trained voice model expects, without depending on espeak-ng itself. Verified against real espeak-ng output (not assumed): 12/13 test words match exactly, with one documented gap. Along the way, fixes a real bug in ArpabetToIpa -- it mapped stressed ARPAbet ER to "ɝ", a symbol that doesn't exist anywhere in Piper's actual phoneme vocabulary (real espeak-ng output uses "ɜː" instead). Also adds stress-dependent AH handling (ʌ/ə/ɐ) and American-English T-flapping, both confirmed against real espeak-ng output rather than assumed from textbook IPA. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BtiynRL3VisERGpMquRg8x