public class LuteceFrenchAnalyzer
extends org.apache.lucene.analysis.Analyzer
FrenchAnalyzer, adding ElisionFilter and ASCIIFoldingFilter. StandardTokenizerElisionFilterStopFilterASCIIFoldingFilterLowerCaseFilterFrenchAnalyzer,
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.
|
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 exceptionCopyright © 2022 City of Paris. All rights reserved.