Learning Phonetic Rules in a Speech Recognition System.