Expected Response
Keep Whitespace
By default, whitespace is not tokenized. To include it, setkeep_whitespace to true.
Expected Response
NFKC Normalization
Setnfkc to true to apply Unicode NFKC normalization to the text before it is segmented. This collapses compatibility characters such as full-width Latin letters and digits to their canonical half-width forms, so that, for example, ABC and ABC produce the same tokens.
Expected Response
Reading Form
Setreading_form to true to replace each token with its dictionary reading form after segmentation. For Japanese (IPADIC), the surface form is replaced with its katakana reading; for Korean (KoDic), Hanja are replaced with their Hangul reading. This is supported for Japanese and Korean only.
Expected Response