mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 23:31:26 +00:00
In Elvish languages, ⟨ch⟩, ⟨dh⟩, and ⟨th⟩ count as single consonants for the purposes of stress, since they represent single letters in the original scripts. The easiest way to implement this is to replace them with single letters at the beginning – ⟨ð⟩ for ⟨dh⟩ and ⟨þ⟩ for ⟨th⟩ are natural, and ⟨x⟩ for ⟨ch⟩ also makes some sense, though it means we need to replace real ⟨x⟩ first (it’s not mentioned in Appendix E of The Lord of the Rings, but does occur in some Quenya words, notably Helcaraxë). Real ⟨x⟩ is pronounced like /ks/, but of course we need to spell that as ⟨cs⟩, since ⟨k⟩ does not occur in Elvish languages.