Class SyntaxOptionsTokens.Builder

java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.SyntaxOptionsTokens.Builder
Enclosing class:
SyntaxOptionsTokens

public static class SyntaxOptionsTokens.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public SyntaxOptionsTokens build()
      Builds a SyntaxOptionsTokens.
      Returns:
      the new SyntaxOptionsTokens instance
    • lemma

      public SyntaxOptionsTokens.Builder lemma​(Boolean lemma)
      Set the lemma.
      Parameters:
      lemma - the lemma
      Returns:
      the SyntaxOptionsTokens builder
    • partOfSpeech

      public SyntaxOptionsTokens.Builder partOfSpeech​(Boolean partOfSpeech)
      Set the partOfSpeech.
      Parameters:
      partOfSpeech - the partOfSpeech
      Returns:
      the SyntaxOptionsTokens builder