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.
  • Method Details

    • newBuilder

      public SyntaxOptionsTokens.Builder newBuilder()
      New builder.
      Returns:
      a SyntaxOptionsTokens builder
    • lemma

      public Boolean lemma()
      Gets the lemma.

      Set this to `true` to return the lemma for each token.

      Returns:
      the lemma
    • partOfSpeech

      public Boolean partOfSpeech()
      Gets the partOfSpeech.

      Set this to `true` to return the part of speech for each token.

      Returns:
      the partOfSpeech