kytea

Toolkit for morphological analysis of Japanese and Chinese text

brewmacoslinux
Try with needOr install directly
Source

About

Toolkit for analyzing text, especially Japanese and Chinese

Commands

kytea

Examples

Analyze Japanese text and display morphological information$ echo '京都は美しい町です。' | kytea
Perform word segmentation on Chinese text$ echo '我喜欢学习中文。' | kytea -model ctw
Output analysis in XML format$ kytea -out xml < input.txt