speech-to-text

How to detect that speech recogntion is in progress

风格不统一 提交于 2019-12-04 12:31:26
Problem: I have UITextField side by side with UIButton with send functionality. When user presses send button I'm performing simple action: - (IBAction)sendMessage: (id)sender { [self.chatService sendMessage: self.messageTextField.text]; self.messageTextField.text = @""; // here I get exception } Now when user starts using dictation from keyboard, then presses done on dictation view (keyboard) and immediately presses send button, I've got exception "Range or index out of bounds". Possible solution: I've noticed that other applications disable this "send" button when speech recognition server

Burmese speech to text conversion in android?

别等时光非礼了梦想. 提交于 2019-12-04 12:01:41
问题 Can we add custom language for RecognizerIntent? I have search many SO Question like https://stackoverflow.com/questions/2080401/is-there-a-speech-to-text-api-by-google That solve my problem of using limited number of language during Speech to Text conversion. My problem is that, I need to used Burmese(Local Language of Burma) Speech and convert it to text. any other help can be appreciated. UPDATE : Google's servers currently support English, Mandarin Chinese, and Japanese. Speech Input API

Disable speech to text button (Micro phone) on soft input keyboard in android programmatically

早过忘川 提交于 2019-12-04 09:45:01
Thanks in advance for the help. I am developing an android application for research purposes and need to disable the speech to text button on the soft input keyboard. The reason for this is due to concurrency issues that arise since the application I am developing uses the microphone. I understand that for a general application disabling keys is generally seen as impossible (since users may change default keyboards). I know for a fact that the default keyboard will be used. With this in mind is it possible to disable certain keys? I believe that at the least I should be able to specify the

Speech to text Conversion.?

空扰寡人 提交于 2019-12-04 06:57:16
问题 For My Iphone Application I need a speech to text library. Can any one suggest me a solution. After two days digging what i found is Google speech to text API and open source OpenEars Library. Can any one suggest one of these.?Which one is better.? 回答1: I don't think the Google APIs are intended for public use. They are services hosted by Google for Android and Chrome. People have reversed engineered the API and built some libraries to let people use it, but I wouldn't build a commercial

How to convert speech to text during call with different text colors for caller and call receiver?

感情迁移 提交于 2019-12-04 06:50:43
I want to convert speech to text during call. I also want the text to display in different colors: the call initiator's in red and the call receiver's green. During my tests, I converted speech to text during call but was unable to distinguish between the voice of the call initiator and that of the call receiver. Thanks in advance Please Help me out... 来源: https://stackoverflow.com/questions/20964359/how-to-convert-speech-to-text-during-call-with-different-text-colors-for-caller

Android SpeechRecognizer should only be used from the application's main thread

邮差的信 提交于 2019-12-04 06:26:56
问题 I am trying to integrate some of Androids Speech APIS in my AndEngine based game. I placed my code within the BaseGame activity - however this error appears at runtime: 05-06 23:51:28.955: ERROR/AndroidRuntime(553): java.lang.RuntimeException: SpeechRecognizer should be used only from the application's main thread How do I access the applications main thread? And how can I ensure my Speech code runs in it. The setup is as follows: Main Class - BaseGameActivity SpeechClass Main Class

Web Speech API Custom Words

点点圈 提交于 2019-12-04 03:11:08
I read through the W3C docs on this and I'm thinking that custom words come from custom grammar, but I tried going to this demo and in the console entered the following javascript: recognition.grammars.addFromString('foo'); Which ran fine and recognition.grammars[0].src returns: "data:application/xml,foo" Note : 'foo' is not the word I'm interested in, but the word I'm interested in isn't an english word, using 'foo' for the example. When I speak my custom word normally, it thinks I'm saying something else (which makes sense). I'm using 'foo' here to protect my brand :) So what I want is to be

ios speech to text conversion [duplicate]

只愿长相守 提交于 2019-12-03 22:01:11
This question already has an answer here: iPhone App › Add voice recognition? [closed] 4 answers API or SDK for speech to text(speech recognition ) iphone 3 answers I would like to convert spoken words into text so I can use nslinguistictagger in my app. How can I convert speech to text? What are the options? Does openears support voice to text conversion? Openears will support free speech recognition and text-to-speech functionalities in offline mode. They have FliteController Class Reference, which controls speech synthesis (TTS) in OpenEars. They have done an excellent job in speech

How can I improve Watson Speech to Text accuracy?

冷暖自知 提交于 2019-12-03 22:01:09
问题 I understand that Watson Speech To Text is somewhat calibrated for colloquial conversation and for 1 or 2 speakers. I also know that it can deal with FLAC better than WAV and OGG. I would like to know how could I improve the algorithm recognition, acoustically speaking. I mean, does increasing volume help? Maybe using some compression filter? Noise reduction? What kind of pre processing could help for this service? 回答1: the best way to improve the accuracy of the base models (which are very

How to translate live streaming using google speech api?

限于喜欢 提交于 2019-12-03 16:59:24
问题 this is the google speech API docs: https://cloud.google.com/speech/docs/sync-recognize i try this API for 2 weeks. but still cant solved my main purpose (translate live streaming). I'm using PHP. (other languange suggestion is allowed, i will find by myself) What i can do in my 2 weeks: Synchronous Speech Recognition (<=1min) Asynchronous Speech Recognition (>1min and <=80min). Note : i can modify this to accept 3hours video. Live speech recognition from mic : https://www.google.com/intl/en