scws

Simple Chinese word segmentation library and tools

brewmacoslinux
Try with needOr install directly
Source

About

Simple Chinese Word Segmentation

Commands

scws

Examples

Segment Chinese text from a file$ scws -i input.txt -o output.txt
Display segmentation results with part-of-speech tags$ scws -i input.txt -c UTF-8
Interactive mode for real-time text segmentation$ scws