khmer natural language processing
Khmer Natural Language Processing in Python
In this section, you will be writing some Python code to test out khmer-nltk. Create a new python file in your working directory. As of version 1.5, khmer-nltk comes with the following functions: Remember to set ensure_ascii option to False to prevent json package from changing the characters to unicode. In some cases, you might prefer to remove all the white spaces from the list. For part-of-speech tagging, you should use pos_tag function instead. It accepts a single string and return a list of Tuple(str, str).