Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speech recognition framework for iOS that supports Spanish [closed]

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

like image 560
cfischer Avatar asked Sep 22 '11 18:09

cfischer


People also ask

How do I get offline speech recognition?

Android does have offline speech recognition capabilities. You can activate this by going to Settings - Language and Input - Voice Input and touch the cog icon next to Enhanced Google Services.

How do I change the language of speech recognition?

Under "Text-to-Speech," select Customize Voice Settings. Customize your Select-to-speak voice: Change the language and preferred voice: Under “Speech," choose the language and type of voice you want to hear. Change natural voice: To use a more realistic, lifelike voice, select Use natural voice when device is online.

Which model is best for speech recognition?

Recently Transformer and Convolution neural network (CNN) based models have shown promising results in Automatic Speech Recognition (ASR), outperforming Recurrent neural networks (RNNs).


2 Answers

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

like image 92
Michael Levy Avatar answered Nov 15 '22 08:11

Michael Levy


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.

like image 32
elp Avatar answered Nov 15 '22 07:11

elp