use of com.hankcs.hanlp.seg.Other.DoubleArrayTrieSegment in project HanLP by hankcs.
the class TestSegment method testACSegment.
public void testACSegment() throws Exception {
Segment segment = new DoubleArrayTrieSegment();
segment.enablePartOfSpeechTagging(true);
System.out.println(segment.seg("江西鄱阳湖干枯,中国最大淡水湖变成大草原"));
}
Aggregations