As many have pointed here Mandarin, Thai, Cantonese and Vietnam are tonal languages and the meaning of words are depending on how you speak the syllables inside the words. Mandarin has four, Thai has five, Cantonese has six and Vitnamese has six tones. Overall about 20% or 1.5 billion of the world's population converse daily in tonal languages. It will be very helpful if someone come up with automatic tonal detection…
The annnoying part in written thai is thattherearenospacesbetweenwords.
中国共产党, is that one word? should you break it up as 中国 共产党? what about 中国 共产 党? i dont think its nearly as clear which of these is correct as it is in english