1. A method for performing text normalization and inverse text normalization, the method comprising: receiving a first string of text symbols; using a grammar by a processor to identify a first lattice of output text strings from the first string of text symbols wherein a first path through the first lattice of output text strings represents a second string of text symbols, wherein the grammar comprises a pair of translate tags that define a transition for a transducer network, wherein between the pair of translate tags are multiple pairs of in tags and multiple pairs of out tags, and wherein text symbols between each pair of out tags represent a text normalization for text symbols between each pair of in tags and wherein text symbols between each pair of in tags represent an inverse text normalization for text symbols between each pair of out tags; providing the second string of text symbols as the text normalization of the first string of text symbols based on a cost of the first path stored in the grammar; receiving the second string of text symbols; using the grammar to identify a second lattice of output text strings from the second string of text symbols wherein a second path through the second lattice of output text strings represents the first string of text symbols; and providing the first string of text symbols as the inverse text normalization of the second string of text symbols based on a cost of the second path that is stored in the grammar.