Class LemmaSample
java.lang.Object
opennlp.tools.lemmatizer.LemmaSample
- All Implemented Interfaces:
Serializable, Sample
-
Constructor Summary
ConstructorsConstructorDescriptionLemmaSample(String[] tokens, String[] tags, String[] lemmas) Initializes aLemmaSampleinstance with the given parameters.Initializes aLemmaSampleinstance with the given parameters. -
Method Summary
-
Constructor Details
-
LemmaSample
Initializes aLemmaSampleinstance with the given parameters.- Parameters:
tokens- The tokens.tags- The postags.lemmas- The lemmas fortokens.
-
LemmaSample
-
-
Method Details
-
getTokens
- Returns:
- Retrieves the tokens of a
LemmaSample.
-
getTags
- Returns:
- Retrieves the postags of a
LemmaSample.
-
getLemmas
- Returns:
- Retrieves the lemmas of a
LemmaSample.
-
toString
-
hashCode
-
equals
-