Interface ILemmatizer

Namespace
NOpenNLP.Tools.Lemmatizer
Assembly
NOpenNLP.Tools.dll

The interface for lemmatizers.

public interface ILemmatizer

Methods

Lemmatize(IList<string>, IList<string>)

Generates a lemma tags for the word and postag returning the result in a list of every possible lemma for each token and postag.

IList<IList<string>> Lemmatize(IList<string> toks, IList<string> tags)

Parameters

toks IList<string>

an array of the tokens

tags IList<string>

an array of the pos tags

Returns

IList<IList<string>>

a list of every possible lemma for each token in the sequence.

Lemmatize(string[], string[])

Generates lemmas for the word and postag returning the result in an array.

string[] Lemmatize(string[] toks, string[] tags)

Parameters

toks string[]

an array of the tokens

tags string[]

an array of the pos tags

Returns

string[]

an array of possible lemmas for each token in the sequence.