Maven依赖:
在pom.xml中指定dependency,可用版本有1.0、1.1、1.2,1.3:
<dependencies>
<dependency>
<groupId>org.apdplat</groupId>
<artifactId>word</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
word分词简单实例
public static void main( String[] args )
{
//System.out.println( "Hello World!" );
List<Word> words = WordSegmenter.seg("杨尚川是APDPlat应用级产品开发平台的作者");
//List<Word> words = WordSegmenter.segWithStopWords("杨尚川是APDPlat应用级产品开发平台的作者");
System.out.println(words);
}