speech-to-text

How to make speech webkit work in Chrome extension popup?

戏子无情 提交于 2019-12-25 02:16:55
问题 A simple code like this <html> <body> <input type="text" id="txtSearch" x-webkit-speech /> </body> </html> works correctly in an HTML page. I am trying to use the same code in the popup of my Google Chrome extension. But on clicking the mic icon, nothing happens in the popup. Are there some restrictions to use code like this for popups? Or am I missing something else? 回答1: It's being worked on, apparently, but I can't parse out from this any progress since Dec 15, 2011. http://code.google.com

speech to text conversation through API

柔情痞子 提交于 2019-12-24 16:34:31
问题 can anybody suggest API either free (that's very good) or paid to convert speech in to text for iPhone application. Thanks, AAryan 回答1: At one point I was going to look at trying to port this library to the iPhone: http://www.speech.cs.cmu.edu/sphinx/tutorial.html It has the capability to build your own speech dictionaries. 来源: https://stackoverflow.com/questions/1568531/speech-to-text-conversation-through-api

Speech to Text C# Train For Better Translation

心已入冬 提交于 2019-12-24 13:03:01
问题 I need to way to make the speech to text smarter as many of the words it is just getting incorrect in the translation. I cannot find much help on adding a list of words, not commands or grammar but words to help better translate audio recording. Here is the code I found on the web, and this works, but I need to way to train, or make the engine smarter. Any ideas? Thanks. static void Main(string[] args) { // Create an in-process speech recognizer for the en-US locale. using

How to convert speech to text in iphone?

柔情痞子 提交于 2019-12-24 12:51:53
问题 I want to build an application where user when talks something on iphone it will convert into corresponding text. I heard in windows platform it is possible. Wheather this is possible in iphone ? Any API available for this ? 回答1: The question has been asked a lot of times here already, this being one of these questions that received quite a few answers and good ideas. There is no API for doing speech to text on the iPhone, but you can record the voice on the phone, send the recording to a

Google speech to text: Extra language set to “kn” but not working

社会主义新天地 提交于 2019-12-24 10:48:04
问题 I am trying to use Google Speech to Text api for Kannada language and I am setting EXTRA_LANGUAGE to "kn" for the same but it is not working. Could somebody please help? Below is the code I am using. Locale locale = new Locale("kn"); //Locale.setDefault(locale); Log.e(TAG, "Locale " + locale.getLanguage() + " present: " + isLocalePresent(locale)); if (isLocalePresent(locale)) { //int randomInt = random.nextInt(allItemsLength); Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE

Google speech to text API using C#

我是研究僧i 提交于 2019-12-24 08:34:14
问题 I'm using google speech recognition for speech to text of a audio file. Response i get as output shows only {"result":[]}. I don't see any output result. i have picked my code from How to use google speech recognition api in c#? and Google speech to text API in C# . i have tried almost every answer in above links still i am getting the error. My code is: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using

ImportError: cannot import name 'enums'

≯℡__Kan透↙ 提交于 2019-12-24 08:04:06
问题 I am trying to use Google Speech API to recognize speech from mic input in real time. I have tried https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/cloud-client/transcribe_streaming_mic.py but this error came out. Anybody knows how to solve this? from google.cloud.speech import enums ImportError: cannot import name 'enums' Update: I have solved the problem by running the code in virtual environment as suggested by the official Cloud Speech API website. However, I

MediaRecorder working in Firefox, but not in Chrome for Speech-to-Text

£可爱£侵袭症+ 提交于 2019-12-24 06:27:09
问题 Here is a jsfiddle of the working code: https://jsfiddle.net/Noitidart/z5dqpe8r/ If I load up the fiddle in Firefox it works perfect. It records the audio, sends it to watson and gets the results. However in Chrome, when it sends it to watson it gets an error. How can I get it to work in Google Chrome? I based it on the code from the documentation here - https://www.ibm.com/watson/developercloud/doc/speech-to-text/input.html#formats - under audio/webm section it has this: For JavaScript code

Speech to text and Text to speech at same time

旧巷老猫 提交于 2019-12-24 05:28:11
问题 INTRODUCTION I'm developing an app where I need to use booth SpeechRecognizer and TTS. But I'm facing some problems while trying this. The main one is that if I initialize TTS, SpeechRecgonizer seems not to work, and If I disable TTS, then SpeechRecognizer works fine. Next there is code snipet with the relevant code: CODE public class GameActivity extends Activity implements OnInitListener { private static TextToSpeech tts; @Override public void onCreate(Bundle savedInstanceState) { super

Speech-to-text from a LIVE stream [closed]

扶醉桌前 提交于 2019-12-23 22:12:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have a Java application and I want to transcribe, not a file, but a LIVE stream(rtmp:// or m3u8) that is being served by Wowza. Is that possible? Thank you PS: I'm willing to pay any of those cloud services that offer audio transcription, but the ones I've seen don't seem to have this functionality. 回答1: There