Package opennlp.tools.lemmatizer
Klasse LemmaSample
java.lang.Object
opennlp.tools.lemmatizer.LemmaSample
- Alle implementierten Schnittstellen:
Serializable
,Sample
Represents a lemmatized sentence.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungLemmaSample
(String[] tokens, String[] tags, String[] lemmas) Initializes aLemmaSample
instance with the given parameters.Initializes aLemmaSample
instance with the given parameters. -
Methodenübersicht
-
Konstruktordetails
-
LemmaSample
Initializes aLemmaSample
instance with the given parameters.- Parameter:
tokens
- The tokens.tags
- The postags.lemmas
- The lemmas fortokens
.
-
LemmaSample
Initializes aLemmaSample
instance with the given parameters.- Parameter:
tokens
- The tokens.tags
- The postags.lemmas
- The lemmas fortokens
.
-
-
Methodendetails
-
getTokens
- Gibt zurück:
- Retrieves the tokens of a
LemmaSample
.
-
getTags
- Gibt zurück:
- Retrieves the postags of a
LemmaSample
.
-
getLemmas
- Gibt zurück:
- Retrieves the lemmas of a
LemmaSample
.
-
toString
-
hashCode
public int hashCode() -
equals
-