C# (CSharp) Lucene.Net.Analysis.Lv 네임스페이스

클래스들

이름 설명
LatvianAnalyzer Analyzer for Latvian.
LatvianAnalyzer.DefaultSetHolder Atomically loads the DEFAULT_STOP_SET in a lazy fashion once the outer class accesses the static final set the first time.;
LatvianStemFilterFactory Factory for LatvianStemFilter.
 <fieldType name="text_lvstem" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.LatvianStemFilterFactory"/> </analyzer> </fieldType>
LatvianStemmer Light stemmer for Latvian.

This is a light version of the algorithm in Karlis Kreslin's PhD thesis A stemming algorithm for Latvian with the following modifications:

  • Only explicitly stems noun and adjective morphology
  • Stricter length/vowel checks for the resulting stems (verb etc suffix stripping is removed)
  • Removes only the primary inflectional suffixes: case and number for nouns ; case, number, gender, and definitiveness for adjectives.
  • Palatalization is only handled when a declension II,V,VI noun suffix is removed.

LatvianStemmer.Affix
TestLatvianAnalyzer
TestLatvianStemFilterFactory Simple tests to ensure the Latvian stem factory is working.
TestLatvianStemmer Basic tests for LatvianStemmer
TestLatvianStemmer.AnalyzerAnonymousInnerClassHelper
TestLatvianStemmer.AnalyzerAnonymousInnerClassHelper2