1. A method, comprising: generating a string of characters based on a set of rules; parsing the string of characters into a string of graphemes; accessing a first data structure that maps graphemes to one or more universal phonetic representations based on an international phonetic alphabet, wherein the first data structure comprises a plurality of first nodes with each first node of the plurality of first nodes having a respective weight assigned that corresponds to a pronunciation of a grapheme; determining one or more phonetic representations for one or more graphemes in the string of graphemes based on the first data structure; accessing a second data structure that maps the one or more universal phonetic representations to one or more graphemes, wherein the second data structure comprises a plurality of second nodes with each second node of the plurality of second nodes having a respective weight assigned that corresponds to a likely representation of a grapheme; determining at least one grapheme representation for one or more of the one or more phonetic representations based on the second data structure; and constructing a phonetic representation of the string of characters based on the at least one grapheme representation that was determined.