public class AnalyzerManager extends Object
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.Analyzer |
getCommonTokensAnalyzer()
This analyzer should be used to generate common tokens lists from
large corpora.
|
org.apache.lucene.analysis.Analyzer |
getGeneralAnalyzer()
This analyzer should be used to extract all tokens.
|
static AnalyzerManager |
newInstance(int maxTokens) |
public static AnalyzerManager newInstance(int maxTokens)
public org.apache.lucene.analysis.Analyzer getGeneralAnalyzer()
public org.apache.lucene.analysis.Analyzer getCommonTokensAnalyzer()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.