Class SyntaxOptionsTokens
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.SyntaxOptionsTokens
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SyntaxOptionsTokens
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Tokenization options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSyntaxOptionsTokens.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Booleanlemma()Gets the lemma.SyntaxOptionsTokens.BuildernewBuilder()New builder.BooleanpartOfSpeech()Gets the partOfSpeech.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a SyntaxOptionsTokens builder
-
lemma
Gets the lemma.Set this to `true` to return the lemma for each token.
- Returns:
- the lemma
-
partOfSpeech
Gets the partOfSpeech.Set this to `true` to return the part of speech for each token.
- Returns:
- the partOfSpeech
-