Provides German (de) language data files for the gruut tokenizer and phonemizer library, including lexicons, grapheme-to-phoneme models, and text normalization rules. Version 2.0.1 is the latest standalone release; the overall gruut ecosystem is actively maintained with a recent v2.4.0 release. Install this package alongside the core `gruut` package to process German text.
pip install gruut-lang-deVerified import paths — ran on the pinned version, not inferred.
Tokenize and phonemize a German sentence. Ensure both 'gruut' and 'gruut-lang-de' are installed.
Upgrade gruut to >=2.0 and install the appropriate gruut-lang-* packages. Replace calls like `gruut.tokenize()` with `gruut.sentences()`.
Replace inline pronunciations with SSML `<phoneme>` or `<say-as>` elements.
Use `from gruut_lang_de import load_lexicon_de` and pass `lexicon_loader=load_lexicon_de` when calling `gruut.sentences()`.