tuxiaoer

GitHub地址 : https://github.com/ysc/word

需求说明:要增加停用词
1:导包
<dependencies>
    <dependency>
        <groupId>org.apdplat</groupId>
        <artifactId>word</artifactId>
        <version>1.3</version>
    </dependency>
</dependencies>
代码中添加自定义的停用词:
WordConfTools.set("stopwords.path", "classpath:stopwords.txt,D:/Project/Code/stopword");
分词部分看具体的api

 

分类:

技术点:

相关文章:

  • 2021-07-25
  • 2021-09-20
  • 2021-10-24
  • 2021-07-07
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
  • 2021-07-13
  • 2022-12-23
  • 2021-12-12
  • 2021-07-24
相关资源
相似解决方案