—The purposes of this research are to study and develop the algorithm of Thai language spoonerism words by semi-automatic computer programs, that is to say, in part of data input, syllables are already separated and in part of spoonerism, the developed algorithm is utilized, which can establish rules and mechanisms in Thai spoonerism words for Tri-syllables by utilizing analysis in elements of the syllables, namely cluster consonant, vowel, intonation mark and final consonant. From the study, it is found that Tri-syllable Thai spoonerism has 2 cases of spoonerism mechanism. In the first case is a crossing between the first syllable to the third syllable and second case is a crossing between the second syllable to the third syllable. From the study, the rules and mechanisms in Thai spoonerism word were applied to develop as Thai spoonerism word software, utilizing PHP program. the software was brought to conduct a performance test on software execution; it is found that the program performs Tri-syllable Thai spoonerism correctly or 90% of all words used in the test and found faults on the program at 10% as the words obtained from spoonerism may not be spelling in conformity with Thai grammar and not possible to predict the real answer is to look through the tri-syllable, then the answer is because the two cases depending on the aim of creating a spoonerism it.
—Algorithm, Thai spoonerism word, Tri-syllable spoonerism word, computational linguistics.
Nutthapat Kaewrattanapat is with Information Management Program, Suan Sunandha Rajabhat University, Bangkok, Thailand 10300 (e-mail: email@example.com).
Cite:Nutthapat Kaewrattanapat, "The Algorithm of Semi-automatic Thai Spoonerism Words for Tri-syllable," International Journal of Computer Theory and Engineering vol. 9, no. 1, pp. 1-5, 2017.