如何在Lucene(5.2.1)中组合分析器实例以停止单词删除和词干化?(How to combine Analyzer instances for stop word removal and stemming in Lucene (5.2.1)?)
我正在使用Lucene最新版本5.2.1 ..在索引文档时,我希望删除停用词之后,所有单词都应该被删除到它的根词。
有英语分析仪可用,但干预不准确 。 还有StopAnalyzer可以删除停用词。
Lucene有没有做过这两件事的分析仪?
我曾使用KStemFilter为Stemming编写了一个自定义分析器。 如何在自定义分析器中使用现有的StopAnalyzer
I'm using Lucene latest version 5.2.1.. While indexing the documents I want the stop words to be removed after that all the words should be stemmed to its root word.
There is EnglishAnalyzer available but stemming is not accurate. And there is StopAnalyzer which removes the stop words.
Do Lucene have any analyzer which does the both things ?
And I had written one custom analyzer for the purpose of Stemming using KStemFilter. How can I use existing StopAnalyzer in the custom analyzer
原文:https://stackoverflow.com/questions/31957986