Update pyteaser code regarding thai segmentation