public class TokenResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
TokenResult.PartOfSpeech
The part of speech of the token.
|
Constructor and Description |
---|
TokenResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLemma()
Gets the lemma.
|
java.util.List<java.lang.Long> |
getLocation()
Gets the location.
|
java.lang.String |
getPartOfSpeech()
Gets the partOfSpeech.
|
java.lang.String |
getText()
Gets the text.
|
public java.lang.String getText()
public java.lang.String getPartOfSpeech()
public java.util.List<java.lang.Long> getLocation()
public java.lang.String getLemma()