Bpan Yaa is a game for learning the Thai alphabet. There are multiple complexities of the Thai writing system that make it non-trivial to transliterate words from a Thai alphabet to a corresponding pronunciation using English letters, such as the following:
- Although letters are generally pronounced in a left-to-right order, this is not always true. Certain vowels are written before, above, or below a consonant, even though they are pronounced after that consonant.
- Vowels are sometimes omitted and must be inferred.
- Consonants are often pronounced differently if they appear at the beginning or the end of a syllable.
- Although pronunciation depends on how a word is broken into syllables, these divisions are often not immediately clear, and must be determined by applying a set of rules.
- Pick the most common 1-gram not already introduced.
- Add the simplest word that contains this 1-gram and has no predecessors that have not been introduced.
- Continually traverse the graph. If there is a node that has all of its predecessors added to the progression, add that node.
- When there are no more words available without introducing a new 1-gram, go back to step 1.
References:
[1] Erik Andersen and Sumit Gulwani and Zoran Popovic. A Trace-based Framework for Analysis and Synthesis of Educational Progressions. CHI 2013