This tab describes how we translate phonetic pronunciations from external sources (Merriam-Webster and Oxford English Dictionary) to the pronunciation displayed to the user. This is necessary as the aforementioned sources use their own pseudo-IPA-based pronunciation, which we attempt to coerce into IPA.
We categorize words into three categories depending on their source:
- Merriam-Webster - These are retrieved on the fly from the search bar.
- Oxford English Dictionary - Anything in the default internal dictionary.
- Internal - Values entered by the user.
The translation process converts a base pronunciation into IPA and also tokenizes it into the constituent vowels/consonants. Merriam-Webster and Oxford English Dictionary/User based words have separate, but similar translation processes. The primary difference is in their translation tables, which are simple text replacement commands. This process is what is shown below.
Steps which do not change anything are not shown.Key
Vowels
Consonants
Unknown