java java中的词干库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4444943/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
stemming library in java
提问by Maverick
Is there any library for stemming in java!?
是否有任何用于在 Java 中进行词干提取的库!?
采纳答案by Thomas
回答by mindas
You might want to look at Apache Lucene. It is generally written to do other things, but it does some stemming as part of its indexing process.
您可能想查看Apache Lucene。它通常是为了做其他事情而编写的,但作为索引过程的一部分,它会进行一些词干化。
回答by necromancer
Updated Answer: Porter recommends a later version of what is available on his website. That is Snowball: http://snowball.tartarus.org/It is essentially a code generator that can generate a Javaor C stemmer based on a stemmer specification.
更新的答案:Porter 推荐了他网站上可用内容的更新版本。那就是 Snowball:http: //snowball.tartarus.org/它本质上是一个代码生成器,可以根据词干分析器规范生成Java或 C 词干分析器。