We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#下载jar包
可以从 https://mvnrepository.com/artifact/org.ansj/ansj_seg下载你需要的jar包
让分词运行需要两个jar,分别是 nlp-lang 和 ansj_seg 的jar 。建议每次下载保证这两个jar是最新的。
#用maven导入
<dependencies> .... <dependency> <groupId>org.ansj</groupId> <artifactId>ansj_seg</artifactId> <version>5.1.6</version> </dependency> .... </dependencies>
这两个jar的区别,标准版本。比简洁版本。大的多的多。标准版一般是40m左右。简洁版大约是4m左右。
标准版提供了NlpAnalysis 方式。也就是具有更加的新词发现以及新词识别的能力。
但是为了部署成本。以及内存耗费。如果不是用来作自然语言处理的童鞋。建议用简洁版本。绿色环保。
HOME
安装及使用
使用技巧
动作链模式
衍生功能
其他说明