speech-recognition

Improve Speech Recognition, C#

纵然是瞬间 提交于 2019-12-01 17:07:01
问题 I use System.Speech library to able to recognize speech but it usually recognizes very different. SpeechRecognizer_rec = new SpeechRecognizer(); DictationGrammar grammar = new DictationGrammar(); grammar.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(grammar_SpeechRecognized); _rec.LoadGrammar(grammar); How can I improve the recgonition? Does it have a relation with Grammer class? 回答1: If you can afford to ask users go to the training process that will certainly yield you

MainActivity has leaked ServiceConnection android.speech.SpeechRecognizer$Connection@414ee400 that was originally bound here

☆樱花仙子☆ 提交于 2019-12-01 15:50:00
In my app I recognize the user saying "exit" or "close" and the app should close. With this code SpeechRecognizer sr; Map<String, Integer> dictionary; private static final int EXIT = 1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); populateDictionary(); SpeechRecognizer sr = SpeechRecognizer.createSpeechRecognizer(this); sr.setRecognitionListener(this); Intent voiceIntent = RecognizerIntent.getVoiceDetailsIntent(getApplicationContext()); sr.startListening(voiceIntent); } @Override public boolean

MainActivity has leaked ServiceConnection android.speech.SpeechRecognizer$Connection@414ee400 that was originally bound here

无人久伴 提交于 2019-12-01 14:59:16
问题 In my app I recognize the user saying "exit" or "close" and the app should close. With this code SpeechRecognizer sr; Map<String, Integer> dictionary; private static final int EXIT = 1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); populateDictionary(); SpeechRecognizer sr = SpeechRecognizer.createSpeechRecognizer(this); sr.setRecognitionListener(this); Intent voiceIntent = RecognizerIntent

Disable built-in speech recognition commands?

僤鯓⒐⒋嵵緔 提交于 2019-12-01 14:20:15
问题 I'm trying to build software that interprets various textual commands, all in a custom way. I use System.Speech.Recognition and it works surprisingly well, but I can't figure how to get around the fact that whenever I say "Delete", "Close", "Correct", etc, I will end up with the default Windows (7) implementation. Is there any way to get around that with System.Speech.Recognition? If not, which C# .NET library would you recommend the most? 回答1: Use SpeechRecognitionEngine instead of

Combine free-form dictation and semantic in a srgs grammar

只谈情不闲聊 提交于 2019-12-01 14:11:54
I'm trying to combine both the result of a semantic and a dictation request in the semantic value of a SRGS document. For example, I would say "Search potato" and the output would be something like out="Search Potato" where Potato is a random word spoken by the user. I tought about using the garbage special rule, but it doesn't seem to work. So far that's what I have : <rule id="rule1" scope="public"> <one-of> <item xml:lang="en-us">Search</item> <item>Cherche</item> </one-of> <tag>out.command="Search"</tag> <tag>out.param1=<ruleref special="GARBAGE"/></tag> <tag>out=out.command+out.param1;<

Setting up Pocketsphinx for Python in Windows

人盡茶涼 提交于 2019-12-01 13:58:40
Can somebody help me in building pocketsphinx speech recognition in windows. I'm facing difficulty in understanding the instruction provided by sphinx in ths page . I want to develop a speech controlled computer automation application, and I'm using Python. I don't know how to install sphinx so that I can import it in the Python environment like this: import pocketsphinx as ps But can't make out anything from it. I was able to do it easily in Ubuntu using the sudo apt-get install sphinx* But, no luck with Windows. Any help would be appreciated. Windows Solution Christoph Gohlke kindly added a

what to do for voice application for ios?

不羁的心 提交于 2019-12-01 13:44:13
how to make Vlingo like application? is there any api that can be used for making apps for ios? Please provide some guide line or any tutorials or an help or comment will be appreciated Thanks in advance i also like to know how the talking ben the dog and talking tom cat is working as we talk it repeats it in funny voice. how it is possible? Michael Levy For Speech Recognition on iOS, there have been many similar questions. Please see Speech to text Conversion.? or Text-to-speech (voice generation) and speech-to-text (voice recognition) APIs? or Speech recognition framework for iOS that

How to add custom SR (Speech Recognition) to Microsoft SAPI

喜夏-厌秋 提交于 2019-12-01 13:41:07
I have a Speech Recognition application for a Language X. This language is not supported by Microsoft SAPI. How can I add this SR for Language X to Microsoft SAPI so that I can use it via Microsoft SAPI ? So What I wonder is Can I add a custom SR to Microsoft SAPI? If so How? If It is a complex process, where to find details? SAPI is just the application programming interface, it only provides the connector for the speech recognition engine. There could be multiple implementations of the same interface. If default implementation by Microsoft doesn't include language X you have multiple choices

getting started with speech recognition and speech synthesis

喜你入骨 提交于 2019-12-01 12:56:39
问题 i want to get started with speech recognition and speech synthesis in Prototype based on speech recognition somebody told me to use microsoft speech server (sdk and so on) when i have this, how do i programm an application, and with which programming language (development enviroment?)? has someone experience with asterisk or SVOX? i need to do: speech recognition speech synthesis i doesn't have to be a very good speech recognition - i think 30 -50 words should be enough for the beginning. i'm

Why does PocketSphinx Android demo require cygwin

人走茶凉 提交于 2019-12-01 11:16:49
I am trying to develop a speech recognition program in android and so far I have seen that themost popular option seems to be CMU sphinx, with pocketsphinx being used for android. From what I have understood the source code for CMU Sphinx has been provided in Java for running on a computer, so will not directly run on an android phone. So I will first have to compile the CMu sphinx code into a sort of library (something like creating a dll out a code I need to share if I was working in C), then build an interface in android and call the classes from cmusphinx. So fr I have found this post and