Class SyntaxResult
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 Summary
Constructors Constructor Description SyntaxResult()
-
Method Summary
Modifier and Type Method Description List<SentenceResult>
getSentences()
Gets the sentences.List<TokenResult>
getTokens()
Gets the tokens.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SyntaxResult
public SyntaxResult()
-
-
Method Details
-
getTokens
Gets the tokens.- Returns:
- the tokens
-
getSentences
Gets the sentences.- Returns:
- the sentences
-