public class APIResponseData
extends java.lang.Object
Constructor and Description |
---|
APIResponseData() |
Modifier and Type | Method and Description |
---|---|
NLIResult[] |
getNLIResults()
Get NLI result from the Natural Language Understanding API.
|
SpeechResult |
getSpeechResult()
Get the Speech-To-Text results from the Cloud Speech Recognition API.
|
java.lang.String[] |
getWordSegmentation()
Get word segments from the word segmentation analyzer.
|
java.lang.String |
getWordSegmentationSingleString()
Get word segmentation results from the Natural Language Understanding API.
|
boolean |
hasNLIResults() |
boolean |
hasSpeechResult() |
boolean |
hasWordSegmentation() |
public java.lang.String[] getWordSegmentation()
public boolean hasWordSegmentation()
public java.lang.String getWordSegmentationSingleString()
public NLIResult[] getNLIResults()
public boolean hasNLIResults()
public SpeechResult getSpeechResult()
public boolean hasSpeechResult()