java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.SyntaxResult
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class SyntaxResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Tokens and sentences returned from syntax analysis.
  • Constructor Details

    • SyntaxResult

      public SyntaxResult()
  • Method Details

    • getTokens

      public List<TokenResult> getTokens()
      Gets the tokens.
      Returns:
      the tokens
    • getSentences

      public List<SentenceResult> getSentences()
      Gets the sentences.
      Returns:
      the sentences