/// <summary>Return a new WordTag which has the lemma as the value of word().</summary> /// <remarks> /// Return a new WordTag which has the lemma as the value of word(). /// The default is to lowercase non-proper-nouns, unless options have /// been set. /// </remarks> public static WordTag StemStatic(string word, string tag) { lock (typeof(Morphology)) { InitStaticLexer(); return(new WordTag(Lemmatize(word, tag, staticLexer, staticLexer.Option(1)), tag)); } }
public virtual string Lemma(string word, string tag) { return(Lemmatize(word, tag, lexer, lexer.Option(1))); }