public class TokenDictRule
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
TokenDictRule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPartOfSpeech()
Gets the partOfSpeech.
|
java.util.List<java.lang.String> |
getReadings()
Gets the readings.
|
java.lang.String |
getText()
Gets the text.
|
java.util.List<java.lang.String> |
getTokens()
Gets the tokens.
|
void |
setPartOfSpeech(java.lang.String partOfSpeech)
Sets the partOfSpeech.
|
void |
setReadings(java.util.List<java.lang.String> readings)
Sets the readings.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setTokens(java.util.List<java.lang.String> tokens)
Sets the tokens.
|
public java.lang.String getText()
public java.util.List<java.lang.String> getTokens()
public java.util.List<java.lang.String> getReadings()
public java.lang.String getPartOfSpeech()
public void setText(java.lang.String text)
text
- the new textpublic void setTokens(java.util.List<java.lang.String> tokens)
tokens
- the new tokenspublic void setReadings(java.util.List<java.lang.String> readings)
readings
- the new readingspublic void setPartOfSpeech(java.lang.String partOfSpeech)
partOfSpeech
- the new partOfSpeech