How to split word from Thai sentence? English we can split word by space.
Example: I go to school
, split = [\'I\', \'go\', \'to\' ,\'school\']
The simplest segmenter for Chinese and Japanese is to use a greedy dictionary based scheme. This should work just as well for Thai---get a dictionary of Thai words, and at the current character, match the longest string from that character that exists in the dictionary. This gets you a pretty decent segmenter, at least in Chinese and Japanese.