public class SyntaxOptionsTokens
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
SyntaxOptionsTokens.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
lemma |
protected java.lang.Boolean |
partOfSpeech |
Modifier | Constructor and Description |
---|---|
protected |
SyntaxOptionsTokens(SyntaxOptionsTokens.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
lemma()
Gets the lemma.
|
SyntaxOptionsTokens.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
partOfSpeech()
Gets the partOfSpeech.
|
protected java.lang.Boolean lemma
@SerializedName(value="part_of_speech") protected java.lang.Boolean partOfSpeech
protected SyntaxOptionsTokens(SyntaxOptionsTokens.Builder builder)
public SyntaxOptionsTokens.Builder newBuilder()
public java.lang.Boolean lemma()
Set this to `true` to return the lemma for each token.
public java.lang.Boolean partOfSpeech()
Set this to `true` to return the part of speech for each token.