public class APIResponseData extends 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.
|
String[] |
getWordSegmentation()
Get word segments from the word segmentation analyzer.
|
String |
getWordSegmentationSingleString()
Get word segmentation results from the Natural Language Understanding API.
|
boolean |
hasNLIResults() |
boolean |
hasSpeechResult() |
boolean |
hasWordSegmentation() |
public String[] getWordSegmentation()
public boolean hasWordSegmentation()
public String getWordSegmentationSingleString()
public NLIResult[] getNLIResults()
public boolean hasNLIResults()
public SpeechResult getSpeechResult()
public boolean hasSpeechResult()
Copyright © 2018. All rights reserved.