Class ItalianAnalyzer
Analyzer for Italian.
You must specify the required LuceneVersion compatibility when creating ItalianAnalyzer:
- As of 3.6, ItalianLightStemFilter is used for less aggressive stemming.
- As of 3.2, ElisionFilter with a set of Italian contractions is used by default.
Inherited Members
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>)
Lucene.Net.Analysis.Analyzer.NewAnonymous(System.Func<System.String, System.IO.TextReader, Lucene.Net.Analysis.TokenStreamComponents>, System.Func<System.String, System.IO.TextReader, System.IO.TextReader>, Lucene.Net.Analysis.ReuseStrategy)
Lucene.Net.Analysis.Analyzer.GetTokenStream(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.InitReader(System.String, System.IO.TextReader)
Lucene.Net.Analysis.Analyzer.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public sealed class ItalianAnalyzer : StopwordAnalyzerBase, IDisposable
Constructors
Name | Description |
---|---|
ItalianAnalyzer(LuceneVersion) | Builds an analyzer with the default stop words: DEFAULT_STOPWORD_FILE. |
ItalianAnalyzer(LuceneVersion, CharArraySet) | Builds an analyzer with the given stop words. |
ItalianAnalyzer(LuceneVersion, CharArraySet, CharArraySet) | Builds an analyzer with the given stop words. If a non-empty stem exclusion set is provided this analyzer will add a SetKeywordMarkerFilter before stemming. |
Fields
Name | Description |
---|---|
DEFAULT_STOPWORD_FILE | File containing default Italian stopwords. |
Properties
Name | Description |
---|---|
DefaultStopSet | Returns an unmodifiable instance of the default stop words set. |
Methods
Name | Description |
---|---|
CreateComponents(String, TextReader) | Creates a TokenStreamComponents which tokenizes all the text in the provided System.IO.TextReader. |