The IPA entries on en.wiktionary.org for Vietnamese words are very complete and surprisingly accurate. Moreover, every word has an entry for each of the three major dialects of Vietnamese. I would like to know what software tool was used to create these pronunciation entries. I have been searching for a complete rule set for Southern Vietnamese pronunciation, but thus far have not been successful in my quest. If there were a publicly available code base to extract the rules from, that would be really great.

  • What makes you think the entries are code-based? I seem to remember that there was quite detailed info in Elementary V by Binh Nhu Ngo - idk if you've looked there already. It was based on Ha Noi dialect but differences from Ho Chi Minh pronunciation were noted.
    – rchivers
    Feb 15, 2021 at 4:19
  • @rchivers Thanks for suggesting that book. I checked out the pronunciation section. Unfortunately, it only gives a cursory treatment of variations. There are many differences that aren't mentioned, like all the changes in finals and nuclei.
    – user31809
    Feb 16, 2021 at 3:14

1 Answer 1


They use a template called {{vi-IPA}}, which calls the module vi-pron. Supposedly it's documented, but that page is empty, so the best we can do for now is look at the code.

Basically, it breaks the text into syllables, then has lookup tables for initials (onsets), finals (nuclei plus codas), and tones, for each of the three major dialects. Each component of each syllable is looked up in the tables, and the results concatenated.

  • Note that if there's a minor detail not clear in the code, it's possible to look up who made that contribution with blame.toolforge.org/… and ask that user on their talk page
    – ain92
    Feb 20, 2021 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.