Namespace Lucene.Net.Analysis.Fr
Analyzer for French.
Classes
FrenchAnalyzer
Lucene.
Supports an external list of stopwords (words that will not be indexed at all) and an external list of exclusions (word that will not be stemmed, but indexed). A default set of stopwords is used unless an alternative list is specified, but the exclusion list is empty by default.
You must specify the required Lucene.
- As of 3.6, French
Light is used for less aggressive stemming.Stem Filter - As of 3.1, Snowball stemming is done with Snowball
Filter , LowerCase is used prior to StopFilter Filter , and ElisionFilter and Snowball stopwords are used by default. - As of 2.9, Stop
Filter preserves position increments
NOTE: This class uses the same Lucene.
FrenchLightStemFilter
A Lucene.
To prevent terms from being stemmed use an instance of
Set
FrenchLightStemFilterFactory
Factory for French
<fieldType name="text_frlgtstem" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ElisionFilterFactory"/>
<filter class="solr.FrenchLightStemFilterFactory"/>
</analyzer>
</fieldType>
FrenchLightStemmer
Light Stemmer for French.
This stemmer implements the "UniNE" algorithm in:
Light Stemming Approaches for the French, Portuguese, German and Hungarian Languages
Jacques Savoy
FrenchMinimalStemFilter
A Lucene.
To prevent terms from being stemmed use an instance of
Set
FrenchMinimalStemFilterFactory
Factory for French
<fieldType name="text_frminstem" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ElisionFilterFactory"/>
<filter class="solr.FrenchMinimalStemFilterFactory"/>
</analyzer>
</fieldType>
FrenchMinimalStemmer
Light Stemmer for French.
This stemmer implements the following algorithm:
A Stemming procedure and stopword list for general French corpora.
Jacques Savoy.
FrenchStemFilter
A Lucene.
The used stemmer can be changed at runtime after the
filter object is created (as long as it is a French
To prevent terms from being stemmed use an instance of
Keyword
FrenchStemmer
A stemmer for French words.
The algorithm is based on the work of Dr Martin Porter on his snowball project
refer to http://snowball.sourceforge.net/french/stemmer.html (French stemming algorithm) for details