public class LuteceFrenchAnalyzer
extends org.apache.lucene.analysis.Analyzer
FrenchAnalyzer
, adding ElisionFilter
and
ASCIIFoldingFilter
. StandardTokenizer
ElisionFilter
StandardFilter
StopFilter
ASCIIFoldingFilter
LowerCaseFilter
FrenchAnalyzer
,
ElisionFilter
,
ASCIIFoldingFilter
,
Analyzer
Modifier and Type | Field and Description |
---|---|
static String[] |
FRENCH_STOP_WORDS
Extended list of typical French stopwords.
|
Constructor and Description |
---|
LuteceFrenchAnalyzer()
Builds an analyzer with the default stop words (
FRENCH_STOP_WORDS ). |
LuteceFrenchAnalyzer(File stopwords)
Builds an analyzer with the given stop words.
|
LuteceFrenchAnalyzer(String[] stopwords)
Builds an analyzer with the given stop words.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
public static final String[] FRENCH_STOP_WORDS
public LuteceFrenchAnalyzer()
FRENCH_STOP_WORDS
).public LuteceFrenchAnalyzer(String[] stopwords)
matchVersion
- the versionstopwords
- the stop wordspublic LuteceFrenchAnalyzer(File stopwords) throws IOException
matchVersion
- the versionstopwords
- the stop wordsIOException
- io exceptionprotected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class org.apache.lucene.analysis.Analyzer
Copyright © 2017 City of Paris. All rights reserved.