JAVA语音识别报错
低頭偲惗17 发布于2017-02 浏览:2302 回复:1
0
收藏
快速回复

我使用的服务是:百度语音识别

调用的接口是:Java程序调用

代码或日志截图(上传截图能帮助您更快解决问题):

Exception in thread "main" org.json.JSONException: Expected a ',' or ']' at 99 [character 100 line 1]

at org.json.JSONTokener.syntaxError(JSONTokener.java:438)

at org.json.JSONArray.(JSONArray.java:126)

at org.json.JSONTokener.nextValue(JSONTokener.java:371)

at org.json.JSONObject.(JSONObject.java:213)

at org.json.JSONObject.(JSONObject.java:320)

at com.baidu.speech.serviceapi.Sample.printResponse(Sample.java:105)

at com.baidu.speech.serviceapi.Sample.method1(Sample.java:67)

at com.baidu.speech.serviceapi.Sample.main(Sample.java:29)


收藏
点赞
0
个赞
共1条回复 最后由用户已被禁言回复于2022-04
#2nickms回复于2017-02

回复低頭偲惗17:

您好,打印一下获取到的文本吧,或者还有其他信息么,这样帮你查问题很难查的,

0
TOP
切换版块