/// <summary> Static method for stemming with different charsets</summary> public static System.String Stem(System.String theWord, char[] charset) { RussianStemmer stemmer = new RussianStemmer(); stemmer.SetCharset(charset); return(stemmer.Stem(theWord)); }
/// <summary> Set a alternative/custom RussianStemmer for this filter.</summary> public void SetStemmer(RussianStemmer stemmer) { if (stemmer != null) { this.stemmer = stemmer; } }
/// <summary> Static method for stemming with different charsets</summary> public static System.String Stem(System.String theWord, char[] charset) { RussianStemmer stemmer = new RussianStemmer(); stemmer.SetCharset(charset); return stemmer.Stem(theWord); }
public RussianStemFilter(TokenStream in_Renamed, char[] charset):base(in_Renamed) { stemmer = new RussianStemmer(charset); }
public RussianStemFilter(TokenStream in_Renamed, char[] charset) : base(in_Renamed) { stemmer = new RussianStemmer(charset); }