Frontend utilizes pre-packed grammars, to expand written text into the spoken form. Pynini is used to write grammars that tokenize input text, classify tokens into semiotic classes and verbalize them.

Use learn_to_normalize (github, documentation) package to adjust text normalization rules and create custom addons for your needs. We store text normalization rules in separate repositories, one per locale: