问题描述
我有问题
我想尝试在vb.net项目中使用Google语音API.
我发现http://social.msdn.microsoft.com/Forums/vstudio/zh-CN/9e5bd36d-0916-4f92-8c4e-01f35b94d5d1/google-chrome-speech-api-help?forum=vbgeneral
这篇文章中的代码不起作用,
它以正确的方式上传文件,但服务器的答案是 :
{状态":5,"id":随机数和字母",假设":[]}
Hi I have a problem
I want to try to use the google speech api in vb.net project
i found that post http://social.msdn.microsoft.com/Forums/vstudio/en-US/9e5bd36d-0916-4f92-8c4e-01f35b94d5d1/google-chrome-speech-api-help?forum=vbgeneral
the code in this post doesn' t work,
it uploads the file in the right way, but the server answer is :
{"status":5,"id":"random number and letters ","hypotheses":[]}
状态:0 –正确,状态:4 –缺少音频文件,状态:5 –错误的音频文件.
status: 0 – correct , status: 4 – missing audio file, status: 5 – incorrect audio file.
(我的音频文件为.flac格式,是正确的格式)
我也找到了这篇文章http://stackoverflow.com/questions/16743533/java-using-google-speech-recognition-api
他们有同样的问题,但在vb.net
中却没有
我该如何解决?
( my audio file is in .flac and it is the right format )
I found this post too http://stackoverflow.com/questions/16743533/java-using-google-speech-recognition-api
they have the same problem, but not in vb.net
how can I fix it?
推荐答案
这篇关于文件上传问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!