How to Build a Multilingual Pronunciation Dictionary
A multilingual pronunciation dictionary needs language-aware entries, compatible phone inventories, and explicit handling of homographs and variants. A shared file does not make its pronunciations or phoneme symbols universal.
A pronunciation dictionary maps written forms to phone sequences. In a multilingual system, the entry also needs enough language and model context to interpret those symbols: the same spelling may be pronounced differently across languages, and phone labels are meaningful only within a defined inventory.
Design each entry around a stable key such as normalized spelling plus language or locale, with fields for pronunciation, variant, source, and any needed context. Decide whether the recognizer expects one shared phone inventory or separate per-language inventories. Do not mix symbols from IPA, X-SAMPA, or a toolkit-specific set unless the model explicitly supports that mapping. Montreal Forced Aligner 3.x, for example, specifies a dictionary file format and expects pronunciation phones to fit the selected model resources.
For each language, normalize Unicode text consistently, define casing and tokenization, and record dialect or reading conventions where they affect pronunciation. Mark homographs with language/context rather than choosing one pronunciation globally. Keep supported variants only when evidence or product needs justify them; generate candidates with a language-matched G2P model, then review names, loanwords, and exceptions. A G2P model trained for one language should not be assumed to work for another.
Validate every language slice: required vocabulary coverage, duplicate entries, unknown phones, empty or malformed pronunciations, and OOV behavior. Test code-switched examples and words whose spellings overlap across languages. Track source, license, version, and review status so updates are reproducible. The existing lexicon article covers general ASR dictionary editing; this design focuses on keeping languages and phone systems from being conflated.
References
Montreal Forced Aligner, [Pronunciation dictionary format](https://montreal-forced-aligner.readthedocs.io/en/latest/user_guide/dictionary.html)
CMUSphinx, [Building a phonetic dictionary](https://cmusphinx.github.io/wiki/tutorialdict/)
CMUdict tools, [README and phone-set validation](https://github.com/cmusphinx/cmudict-tools/blob/master/README.md)