支持西班牙语的 iOS 语音识别框架

发布于 2024-12-06 01:50:55 字数 50 浏览 0 评论 0原文

是否有适用于 iOS 的语音转文本框架,支持开箱即用的西班牙语?商业或操作系统都可以。

Is there a speech to text framework for iOS that supports Spanish out of the box? Commercial or OS is ok.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

悲念泪 2024-12-13 01:50:55

有很多用于语音识别的商业 IOS 库。我经常听到的名字是 Nuance、iSpeech 和 Yapme。每个都提供云语音识别(脱离设备)以及客户端库和 SDK 来构建到您的应用程序中。

Nuance 似乎支持西班牙语 - http://blog .dragonmobileapps.com/2011/01/mobile-app-developer-dragon-mobile-sdk.html

...您可以为您的应用程序启用语音功能,以包括美国和英国英语,
欧洲西班牙语、欧洲法语、德语、意大利语和日语---有
2011 年将有更多语言可供使用!

现在 Nuance 为开发人员提供免费访问 - http://www.masshightech.com/stories/2011/09/26/daily13-Nuance-tweaks-mobile-dev-program-with-free-access-to-Dragon.html

iSpeech 可能支持西班牙语 - http://www.ispeech.org/developers/iphone

iSpeech 的移动 SDK 支持 27 种 TTS 和 ASR(定义语法)
语言和 15 种语言进行自由格式听写语音识别。

Yapme,抱歉,我不确定 - http://yapinc.com/speech-cloud.html

There are a bunch of commercial IOS librariers for speech recognition. The names I keep hearing are Nuance, iSpeech, and Yapme. Each offers cloud speech recognition (off the device) and a client library and SDK to build into your app.

Nuance seems to support Spanish - http://blog.dragonmobileapps.com/2011/01/mobile-app-developer-dragon-mobile-sdk.html

...you can speech-enable your app for including US and UK English,
European Spanish, European French, German, Italian and Japanese---with
even more languages on tap for 2011!

and now Nuance gives developers free access - http://www.masshightech.com/stories/2011/09/26/daily13-Nuance-tweaks-mobile-dev-program-with-free-access-to-Dragon.html

iSpeech is likely to support Spanish - http://www.ispeech.org/developers/iphone

iSpeech's Mobile SDKs support 27 TTS and ASR (defined grammar)
languages and 15 languages for free-form dictation voice recognition.

Yapme, sorry, I'm not sure - http://yapinc.com/speech-cloud.html

泪冰清 2024-12-13 01:50:55

看看这里:http://src.chromium.org/viewvc/chrome/ trunk/src/content/browser/speech/

这是Chrome浏览器语音搜索......你可以在Objective-C中做到这一点。尝试在 Chrome 浏览器上访问 google.com,如果识别出西班牙语,您就赢了! :)

您可以轻松使用:

- (void) SpeechFromGooglezzz {
  NSURL *url = [NSURL URLWithString:@"https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US"];

  ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
  NSString *filePath = [NSString stringWithFormat:@"%@%@", [[NSBundle mainBundle] resourcePath], @"tmpAudio.flac"];

  NSData *myData = [NSData dataWithContentsOfFile:filePath];
  [request addPostValue:myData forKey:@"Content"];
  [request addPostValue:@"audio/x-flac; rate=16000" forKey:@"Content-Type"];
  [request startSynchronous];

  NSLog(@"req: %@", [request responseString]);
}

记住,您必须录制 16000 比特率的 FLAC 文件!或者什么也没有!

Google 使用包含这些单词的 json 进行响应。

希望这有帮助。

Take a look here: http://src.chromium.org/viewvc/chrome/trunk/src/content/browser/speech/

It's the Chrome Browser Speech to search...... you can do it in Objective-C. Try go google.com on chrome browser and if spanish is recognized, you win! :)

You can easily use:

- (void) SpeechFromGooglezzz {
  NSURL *url = [NSURL URLWithString:@"https://www.google.com/speech-api/v1/recognize?xjerr=1&client=chromium&lang=en-US"];

  ASIFormDataRequest *request = [ASIFormDataRequest requestWithURL:url];
  NSString *filePath = [NSString stringWithFormat:@"%@%@", [[NSBundle mainBundle] resourcePath], @"tmpAudio.flac"];

  NSData *myData = [NSData dataWithContentsOfFile:filePath];
  [request addPostValue:myData forKey:@"Content"];
  [request addPostValue:@"audio/x-flac; rate=16000" forKey:@"Content-Type"];
  [request startSynchronous];

  NSLog(@"req: %@", [request responseString]);
}

Remember that you must recording a 16000 bitrate FLAC file! Or nothing!

Google responds with a json containing the words.

hope this helps.

怪异←思 2024-12-13 01:50:55

我为 Google Speech API 编写了一个客户端库。最适合 iOS,也支持其他类 Unix 系统:

编辑:在这里尝试: https://github.com/H2CO3 /libsprec

I've written a client library for the Google Speech APIs. Works best with iOS and also supports other Unix-like systems:

Edit: try here: https://github.com/H2CO3/libsprec

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文