A latent analogy framework for grapheme-to-phoneme conversion