public DutchAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords, CharArraySet stemExclusionTable) : this(matchVersion, stopwords, stemExclusionTable, #pragma warning disable 612, 618 matchVersion.OnOrAfter(LuceneVersion.LUCENE_36) ? #pragma warning restore 612, 618 DefaultSetHolder.DEFAULT_STEM_DICT : CharArrayMap <string> .EmptyMap()) { // historically, this ctor never the stem dict!!!!! // so we populate it only for >= 3.6 }
public virtual void TestEmptyStemDictionary() { DutchAnalyzer a = new DutchAnalyzer(TEST_VERSION_CURRENT, CharArraySet.EMPTY_SET, CharArraySet.EMPTY_SET, CharArrayMap <string> .EmptyMap()); CheckOneTerm(a, "fiets", "fiet"); }
public DutchAnalyzer(LuceneVersion matchVersion, CharArraySet stopwords) : this(matchVersion, stopwords, CharArraySet.EMPTY_SET, matchVersion.OnOrAfter(LuceneVersion.LUCENE_36) ? DefaultSetHolder.DEFAULT_STEM_DICT : CharArrayMap <string> .EmptyMap()) { // historically, this ctor never the stem dict!!!!! // so we populate it only for >= 3.6 }