Class LuteceFrenchAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
fr.paris.lutece.plugins.lucene.service.analyzer.LuteceFrenchAnalyzer
- All Implemented Interfaces:
Closeable,AutoCloseable
public class LuteceFrenchAnalyzer
extends org.apache.lucene.analysis.Analyzer
FrenchAnalyzer, adding ElisionFilter and ASCIIFoldingFilter. StandardTokenizerElisionFilterStopFilterASCIIFoldingFilterLowerCaseFilter
- See Also:
-
FrenchAnalyzerElisionFilterASCIIFoldingFilterAnalyzer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]Extended list of typical French stopwords.Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY -
Constructor Summary
ConstructorsConstructorDescriptionBuilds 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. -
Method Summary
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, normalize, setVersion, tokenStream, tokenStream
-
Field Details
-
FRENCH_STOP_WORDS
Extended list of typical French stopwords.
-
-
Constructor Details
-
LuteceFrenchAnalyzer
public LuteceFrenchAnalyzer()Builds an analyzer with the default stop words (FRENCH_STOP_WORDS). -
LuteceFrenchAnalyzer
Builds an analyzer with the given stop words.- Parameters:
matchVersion- the versionstopwords- the stop words
-
LuteceFrenchAnalyzer
Builds an analyzer with the given stop words.- Parameters:
matchVersion- the versionstopwords- the stop words- Throws:
IOException- io exception
-