问题标签 [google-speech-api]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
42108 浏览

google-speech-api - Google Speech API V2

I have followed this link to generate API keys, but the Speech API was not found on the console.

The application example I'm following is here: https://github.com/gillesdemey/google-speech-v2/

I keep on getting an error:

Your client does not have permission to get URL.

What's the problem?

0 投票
1 回答
188 浏览

ios - 在 ios 中解析 Google 语音工具包响应

我在 iOS 应用程序中使用 Google api。响应是这样的:

我正在获取数据,但如何解析此响应?

我将其转换为NSString. 但我需要有效的结果NSArrayNSDictionary

这给了我字符串结果,但如何将其转换为NSDictionary

0 投票
1 回答
1545 浏览

speech-recognition - 将单词添加到 webkitSpeechRecognition() 以进行语音识别

我想将单词添加到webkitSpeechRecognition()单词库中,这样当我说出这些新单词时,它们就可以被检测到并写下来。(是我正在使用的 Web Speech API 的链接)。我试图寻找如何做到这一点,但我找不到办法。如果有办法做到这一点,我该怎么办?

谢谢

0 投票
1 回答
145 浏览

ios - 在 iOS 中解析 Google Speech Kit JSON

我收到来自 Google 语音 API 的以下 JSON 响应

但是我在解析 JSON 响应时遇到了困难。我有以下代码

第一种方法:当我尝试打印时得到一个空结果

第二种方法:当我尝试打印时得到相同的空结果

此外,当我尝试通过http://jsonlint.com/验证 JSON 响应时,我收到以下消息

0 投票
1 回答
1139 浏览

android - 在没有外部服务器的情况下在本地运行 Google 语音?

只是不要错过,有没有一种方法可以在本地运行 Google 语音而无需访问 Google 服务器 - 甚至无需互联网连接?

谷歌语音 API使用谷歌语音 API安卓:语音识别不使用谷歌服务器和其他几个资源说/提示“不”。

这将用于语音到文本。我的输入是来自麦克风的语音,输出是文本中的语音。

注意:我知道 Sphinx 在其他一些语音识别器中。我将在另一个 Q 中提出它。出于性能原因,这个 Q 对 Google 语音不感兴趣。

TIA。

//----------------------------------------

编辑:我正在寻找也可以在桌面上运行的东西——Windows 而不仅仅是在 Android 上。

0 投票
1 回答
554 浏览

android - English US language code changed? Google Speech Api v2 not returning the correct result

Just noticed the English US words no longer display the correct spelling. This previously was ok - now it displays the English UK spelling. Below is a list of some words that I found .For example if I say center and set the language code as en-US I am getting the result as centre which is English UK.

I am using Google api v2

https://www.google.com/speech-api/v2/recognize?output=json&lang=en-US&key=my_key"

WORDS ENDING IN –RE

British English words that end in -re often end in -er in American English:

British and US

Even though I am giving the language code as en-US the result returned will be in British English.Is this a common issue or US English code is no longer working. Any help will be appreciated.

Edit

I just noticed this issue is with ok google also Even though my input is in English us ,the answers I am getting is in English Uk.These are some other words

Words ending in -our

British English words ending in -our usually end in -or in American English:

British and US

Verbs in British English that can be spelled with either -ize or -ise at the end are always spelled with -ize at the end in American English:

British and US

Words ending in -yse

Verbs in British English that end in -yse are always spelled -yze in American English:

British and US

0 投票
2 回答
509 浏览

api - Google Speech API 已弃用?

我一直在寻找可以在我的应用程序中使用的语音识别 API。它不是移动或网络应用程序,而是需要与来自 Java、C# 或 C++ 等本机代码的云语音集成。环顾网络,谷歌似乎在 API 控制台中提供了一个实验性 API,但我似乎找不到它。我想知道它是否已被弃用?我无法从谷歌找到任何证实这一假设的东西。

关于在哪里获得高质量云语音的任何建议?

0 投票
2 回答
8460 浏览

webspeech-api - Google Speech API 和 Web Speech API 的区别

我正在研究网络语音识别。

我发现谷歌向开发者提供了一个调用“谷歌语音API V2”的API。但我注意到每天使用它都有限制。

之后我发现有一个原生的WEB Speech API也可以实现语音识别。它只适用于谷歌浏览器和歌剧:

http://caniuse.com/#feat=speech-recognition

那么 1. Google Speech API 和 Web Speech API 有什么不同?他们有什么关系吗?

  1. 语音识别结果 json 是从谷歌返回的。谷歌语音api会比网络语音api更准确吗?

谢谢你。

0 投票
2 回答
1156 浏览

speech-recognition - 除了 Google 之外,还有没有返回中间结果的语音识别 API?

我正在寻找一个语音识别 API,它可以在用户说话时返回中间结果,类似于谷歌在其主页 ( https://www.google.com ) 上所做的事情。我正在寻找支持法语的 API。我想做的是创建一个类似于 Google 语音搜索的 Web 应用程序。

  • 不建议将 Google Speech API 用于专业开发,因为它经常更改并且没有完整记录。
  • IBM Watson 不支持法语
  • AT&T Speech API 不返回中间结果
  • CMU Sphinx 返回非常糟糕的结果(请参阅此处的演示:http: //syl22-00.github.io/pocketsphinx.js/live-demo.html
  • Nuance 产品似乎不是为 Web 应用程序而设计的。(如果你知道我应该如何使用它们,我很感兴趣!)
0 投票
1 回答
371 浏览

google-speech-api - 如何增加 Google Speech API 的配额

我使用 Google 的语音 API,但我每天只有 50 个请求,我想知道是否可以增加这个配额?