Implementation of Pronunciation by Analogy algorithm.