草庐IT

StopFilter

全部标签

java - Lucene 的 StopFilter 中使用的默认停用词列表是什么?

Lucene有一个默认的停止过滤器(http://lucene.apache.org/core/4_0_0/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html),有谁知道列表中的单词是什么? 最佳答案 defaultstopwordsStandardAnalyzer和EnglishAnalyzer中的设置来自StopAnalyzer.ENGLISH_STOP_WORDS_SET,如sourcefile中所示:"a","an","and","are","as

java - Lucene 的 StopFilter 中使用的默认停用词列表是什么?

Lucene有一个默认的停止过滤器(http://lucene.apache.org/core/4_0_0/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html),有谁知道列表中的单词是什么? 最佳答案 defaultstopwordsStandardAnalyzer和EnglishAnalyzer中的设置来自StopAnalyzer.ENGLISH_STOP_WORDS_SET,如sourcefile中所示:"a","an","and","are","as