The simplest means of G2P conversion is to build up a lexicon or dictionary containing the mapping from words to their corresponding pronunciations.
it fails to provide pronunciations for unknown words and inclusion of newer words increases memory requirement.