English language data files for the gruut tokenizer/phonemizer. This package provides English-specific lexicons, pronunciations, and grammar rules. It is a companion to the core gruut library. As of version 2.0.1, it contains data extracted from the main gruut package to allow independent updates. The library follows the release cadence of gruut and is maintained under the Rhasspy project.
pip install gruut-lang-enVerified import paths — ran on the pinned version, not inferred.
Tokenize and phonemize English text. Ensure gruut-lang-en is installed for English support. The 'lang' parameter must match an installed language package.
Update code to use 'from gruut import sentences' and call 'sentences(text, lang="en-us")'. For SSML, pass lang=None or adjust stdin format.
Always run 'pip install gruut[en]' or 'pip install gruut-lang-en' alongside gruut.
Replace inline pronunciations with SSML elements.