speech-to-text

Android Speech Recognition not working

五迷三道 提交于 2019-11-29 16:33:48
I'm using this example from newboston and it prompt me for recording but after it recognized what I said, it won't update the list view. Here is the code. public class MainActivity extends Activity { private static final int RECOGNIZER_RESULT = 1234; ListView list; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); list = (ListView) findViewById(R.id.list); Button btn_speach = (Button)findViewById(R.id.btn_speak); btn_speach.setOnClickListener(new OnClickListener() { public void onClick(View v) { Intent intent

API or SDK to make speech recognition only for numbers (between 1 and 10000)?

你。 提交于 2019-11-29 15:33:46
I need a specialized solution optimized to detect numbers between 1 and 1000 to be used on a smartphone. Best solution would be to have this SDK working offline. Any idea ? I do not find any configuration with Google Speech or Amazon Transcribe to allow "number only" It is not quite right to strictly expect numbers from people, they usually say many things like "i don't know" or "wait a bit" even if you ask them for numbers. You will harm the experience significantly. You have to analyze the recognition result intelligently and even if non-number is recognized you have to act accordingly. To

Watson STT Java - Varying results between Websockets Java and HTTP POST

不想你离开。 提交于 2019-11-29 15:19:21
问题 I'm trying to build an app that takes a streamed audio input (eg: a line in microphone) and does Speech-to-Text using IBM Bluemix (Watson). I briefly modified the example Java code found here. This example sends a WAV but instead I'm sending a FLAC... this is [should] be irrelevant. The results are bad, very bad. This is what I get when using the Java Websockets code: { "result_index": 0, "results": [ { "final": true, "alternatives": [ { "transcript": "it was six weeks ago today the terror ",

Speech To Text Recognizer not found

好久不见. 提交于 2019-11-29 14:58:22
I'm building an app that record the user's voice and then converts it to text. From this post Stackoverflow Post I've found the source code android developers , I've run the code but the button text reads "RECOGNIZER NOT PRESENT". I think I must be missing some permissions or something becouse earlier I created a Text to Speech converter and it was working fine. Any ideas what might be the problem? Michael Levy I am not sure why the recognizer functionality is not available on all devices. Make sure you install and update the latest Google Voice Search for Android. I believe it installs the

Offline voice recognition android taking unwanted voice

别来无恙 提交于 2019-11-29 14:16:46
I have did a lot for research and tried offline pocket sphinx but it is taking surrounding voice it is taking and reacting my app differently. Is there any Google offline app for above kitkat 4.4.. i am trying it from 2 week. Thank for your valuable answer. Details: When the activity starts first text has to read the content (Text to speech) after it complete, reading voice recognition has to take voice and as per command ex: (next, previous, forward, option, 1, 2, 3, 4 etc). As per command it has to recognize and react to it in onresult method. Error: i am getting error after taking some

Speech to text conversion for non-english language

主宰稳场 提交于 2019-11-29 12:47:30
I am trying to implement naive speech to text conversion for non-english language. where user speaks in other language and text is also in the same language .Is that possible ? If yes can anyone help with the idea of how to implement it ? Any Help would be greatly appreciated.Thanks in advance. Nikolay Shmyrev It is unlikely any commercial speech recognition solution will support Sanskrit, so the only choice you have is to add support for Sanskrit into open source engine like CMUSphinx. This is pretty straightforward, you actually just need to follow the documentation and you can get to the

Speech recognition API for all browsers [closed]

末鹿安然 提交于 2019-11-29 12:19:40
I have seen Google Speech API which is only working on chrome 25+ versions and HTML5 Speech API is also working on chrome only. I am wondering is there any good Javascript/ Jquery API so that i can used it to work on my project. Please if anyone can help me out that would be great. I am searching alot but all the examples are using google speech API. i would prefer Javascript API but if i can even get C# or PHP API and worked on all browsers that should be fine as well. Thanks in advance Amadan Speech API only currently works on Chrome and Opera ( caniuse.com ). You cannot use C# or PHP API in

Google-speech-api transcribing spoken numbers incorrectly

半世苍凉 提交于 2019-11-29 07:31:56
I started using google speech api to transcribe audio. The audio being transcribed contains many numbers spoken one after the other. E.g. 273 298 But the transcription comes back 270-3298 My guess is that it is interpreting it as some sort of phone number. What i want is unparsed output e.g. "two seventy three two ninety eight' which i can deal with and parse on my own. Is there a setting or support for this kind of thing? thanks Try passing a speech context with some phrase hints. How to use it is documented here: https://cloud.google.com/speech/docs/basics#phrase-hints Give it the spelled

how to detect language spoken in google cloud platform machine learning speech api

老子叫甜甜 提交于 2019-11-29 07:08:46
Is there an option to automatically detect the spoken language using Google Cloud Platform Machine Learning's Speech API? https://cloud.google.com/speech/docs/languages indicates the list of the languages supported and user needs to be manually set this parameter to perform speech-to-text. Thanks Mahesh john316 As of last month, Google added support for detection of spoken languages into its speech-to-text API. Google Cloud Speech v1p1beta1 It’s a bit limited though - you have to provide a list of probable language codes, up to 3 of them only, and it’s said to be supported only for voice

Keyword Spotting in Speech on Android?

拥有回忆 提交于 2019-11-29 05:17:05
I need to use speech input to insert text. How can i detect keyword when I'm speaking ? Can i do this with Android Speech Input or I need external library ? Any ideas ? Thanks Nikolay Shmyrev Keyword detection task is different from a speech recognition task. While second tries to understand the text being spoken and check all possible word combinations, keyword spotting usually check two hypothesis - word is here or garbage is here. Its way more efficient to check keyword presence but it requires custom algorithm. You can implement one with the open source speech recognition toolkit like