Grapheme-to-phoneme conversion: generate and verify pronunciations
Grapheme-to-phoneme (G2P) conversion turns a word’s spelling into candidate phone sequences. Learn how statistical and neural methods differ, where predictions can fail, and how to verify generated pronunciations before adding them to a lexicon.
Grapheme-to-phoneme conversion: generate and verify pronunciations
Grapheme-to-phoneme (G2P) conversion maps a written word to one or more sequences of phones that represent its pronunciation. It can help expand pronunciation lexicons for speech recognition and synthesis with names or technical terms that are not already listed. G2P does not always recover the correct pronunciation from spelling alone. Irregular spelling, proper names, loanwords, homographs, and dialect differences can leave multiple candidates, especially without context or speaker information.
How does G2P predict a pronunciation?
A trained G2P model learns correspondences from spelling-pronunciation pairs in an existing lexicon. Statistical joint-multigram methods align variable-length chunks of graphemes and phones and model their joint patterns. Neural sequence-to-sequence models predict an output phone sequence from an input spelling. The right choice depends on the target language, the size and quality of the training lexicon, spelling regularity, and the required output conventions.
| Approach | Strength | What to check |
|---|---|---|
| Rule-based | Rules can be inspected directly and exceptions can be explicit. | Writing and maintaining rules requires language expertise; many exceptions make the rule set complex. |
| Statistical correspondence model | Learns from grapheme-phone alignments and can produce N-best candidates. | Generalization may be weak for unseen letter patterns or names, and the model inherits dialect and spelling biases in its data. |
| Neural sequence model | Predicts a full phone sequence from the character sequence and can be extended to use pronunciations of related words. | Rare-word predictions may be unstable, and a model score does not prove the pronunciation is correct. |
| Audio-assisted research methods | Can infer pronunciations for lexicon-missing words from recordings. | They require additional speech and phone recognition and word-boundary estimation; results depend on the languages and data studied. |
In 2018, Bruguier et al. evaluated a sequence model that supplied dictionary information about related words in a German experiment and reported better results than the baseline in that system and evaluation. This does not show that dictionary augmentation always wins across languages or G2P models. In 2023, Ribeiro et al. described learning pronunciations for out-of-vocabulary words from recordings using multilingual phone recognition; they reported phone-error-rate improvements in low-resource conditions across the five languages they studied. This result comes from a specialized research pipeline, not an automatic feature of ordinary G2P use.
A workflow for adding generated pronunciations
**Fix the pronunciation target.** Specify the language, dialect, and phone notation. Confirm that the acoustic model and lexicon use compatible phone symbols.
**Clean the training lexicon.** Review spelling-pronunciation pairs for duplicates, inconsistent spelling, and invalid phones. Split evaluation words from training data by word so test items do not leak into training.
**Generate candidates.** When supported, request several candidates and their scores or confidence. A score reflects the model’s preference; it does not guarantee real-world correctness.
**Review difficult cases.** Check names, abbreviations, loanwords, compounds, stress-sensitive words, and words with multiple readings against speakers, dictionaries, or actual recordings.
**Merge only verified entries.** Add approved entries to the pronunciation lexicon, validate its format and phone symbols, and rebuild decoding assets when required. Do not silently treat deferred items as correct pronunciations.
**Evaluate on independent data.** Measure whole-word accuracy, phone error rate (PER), and top-candidate coverage. In the downstream ASR system, compare recognition of new words and confusions of neighboring words under the same conditions.
A useful G2P system is better treated as a generator of pronunciations to review than as an automatic source of truth. Automate regular words and strengthen review for entries likely to be exceptions; this expands coverage while keeping errors visible.
References
[Bisani & Ney, Investigations on joint-multigram models for grapheme-to-phoneme conversion (2002)](https://www.isca-archive.org/icslp_2002/bisani02_icslp.html)
[Bruguier et al., Dictionary Augmented Sequence-to-Sequence Neural Network for Grapheme to Phoneme prediction (2018)](https://www.isca-archive.org/interspeech_2018/bruguier18b_interspeech.pdf)
[Ribeiro et al., Improving grapheme-to-phoneme conversion by learning pronunciations from speech recordings (2023)](https://www.isca-archive.org/interspeech_2023/ribeiro23b_interspeech.pdf)
References
- Bisani & Ney, Investigations on joint-multigram models for grapheme-to-phoneme conversion (2002)
- Bruguier et al., Dictionary Augmented Sequence-to-Sequence Neural Network for Grapheme to Phoneme prediction (2018)
- Ribeiro et al., Improving grapheme-to-phoneme conversion by learning pronunciations from speech recordings (2023)