mmseg
maximum matching segment Chinese text.
- Provided by: sunpinyin-utils (Version: 3.0.0~rc2+ds1-4)
- Source: sunpinyin
- Report a bug
maximum matching segment Chinese text.
mmseg -d dict_file [option]... [corpus_file]...
mmseg is a tool for segmenting Chinese text into words using maximum matching algorithm. mmseg segments corpus_file, or standard input if no filename is specified, and write the segmented result to standard output.
Under binary mode, consecutive id of 0 are merged into one 0. Under text mode, no space are inserted between unknown-words.
Originally written by Phill.Zhang <phill.zhang@sun.com>. Currently maintained by Kov.Chai <tchaikov@gmail.com>.
slmseg(1), ids2ngram (1).