Speech Recognition In .net?
Feb 17, 2010Is Possible to create Speech recognition in vb.net .
View 2 RepliesIs Possible to create Speech recognition in vb.net .
View 2 Repliesrecommended alternatives for speech recognition other than Microsoft Speech libraries?
View 2 RepliesI'm trying to create a Speech Recognition support for my program. I want to make it so that if I say something in my microphone, the program just writes what I said in Label1. I looked for Speech Recognition codes in MSDN and Google, but I didn't find anything useful. I found a code, but it was for VB.net, I tried but it didn't work in VB 2010.
View 1 Repliesi just started to learn how to do speech recognition using VB.NET..but i am having trouble in what do i need to do it..how should i start?
View 1 Repliesi want to create a software which has the following modules 1. Speech to Text2. Text toSpeech 3. Voice commandi already developed in vb6
View 3 RepliesI'm working on a program that needs Speech Recognition and every website says to download the Microsoft Speech Recognition Engine. I can't find that, but I've downloaded all the SDKs. Are they the same? And it always says to add a speech recognition component to the form, but I can't find where that is in Visual Basic 2005. I'm using the Express Edition, but I don't think that matters.
View 4 Replieswhat I gather, the biggest difference between the old SAPI 5.1 and SAPI 5.3 is that SAPI 5.3 actually takes less code to do some of the same things that SAPI 5.1 does. This is just a simple example that runs notepad and says it is before doing so.One thing to remember is that the name of speech lib is changed again. Now you have to do this: Project -> Add Reference -> .NET -> System.Speech
imports system.speech
Public Class Form1
Public WithEvents recognizer As New System.Speech.Recognition.SpeechRecognitionEngine
Dim gram As New System.Speech.Recognition.DictationGrammar()
[code]....
gram is a DictationGrammar object. As it turns out, there are two grammar objects in SAPI 5.3. As you've probably already guessed, DictationGrammar is for spoken language and the normal grammar object is for simple grammar rules.
So basically, Load the grammar, set audio to the default input device and then start an Async recognize call. They have a blocking recognize call and one thing to note here is that it will turn itself off after each sucessful recognized phrase. Meaning that you have to recall Async recognize at the end of the GotSpeech sub if you want to keep picking up voice commands. As it stands, this will pick up one command and no more because it stops recognition.
One neat thing about the synthesis engine is that you can specify things like ".NET" to be said as "dot net" by Anna. Also, as it stands, the periods aren't said and so are pretty much useless. It acts just like the Vista Recognition engine also so if you spell out a word, Anna will spell it out too.In this example there is an undeclared variable named "cmd" that I fail to understand. What is the role of it and where does it obtain it's value from. I actually assume it should be the one to get the decoded\recognized text from the recognizer but not sure how that is achieved.
I'm using Speech.Recognition.SpeechRecognizer in VB.NET 2010 on XP-SP3. I can't figure out how to get it to recognize a number as a number. I want to be able to say "five" and have the code interpret it as the value 5 instead of the word. I know I could use a long choices array or sementics key/value combintations as I have for other conditions but that would be a considerable amount of hard coding or XML work. Is there a more efficient way to get the desired result?
View 1 RepliesI'm making an application that requires me to perform speech recognition from a wave file that contains some speech. I know what the words in the wave file could be.So, I need to compare these words from a small custom grammar/dictionalr instead of a whole built in large vocabulary.
I have done the recognition part with the default system large vocabulary but now just need to use my own vocabulary.
Suppose that the words that the user can say are:
Hello
hundred degree celcius,
USA,
Yes,
No
Then, how shall I write my XML Grammar? I suppose that if I use the limited small vocabulary, then my accuracy of recognition would increase. Right now, ive a wave file in Microsoft Mary's voice saying "Hello". But with the large default vocabulary its recognising it as "All though". Is my assumption correct that with the above mentioned 5 words in the vocabulry, it will recognise it as Hello only?
Ive been looking at the internet but can't find solution to my specific problem regarding making a simple grammar. In most documents its mentioning using external grammar and about several of the attributes posssible, including sementics, etc, etc. But my vocabulary is not very complicated or difficult. And I don't want to get into too much detail at the moment as I would be deviating from my project itself..
So using the following code:
Grammar = RecoContext.CreateGrammar
Grammar.CmdLoadFromFile("C:CustomGrammar.xml")
What should be the content of the CustomGrammar.xml?
is it possible to enable speech recognition on asp.net web forms?
View 3 RepliesCan I develope speech recognition software in VB.Net?
View 4 RepliesDoes anyone know where I can find a step-by-step example of how to use ystem.Speech.Recognition to add speech recognition to my code
View 9 RepliesI am really new to all of this, and especially new to VB 2008, so while searching around for how to use Speech Recognition in VB, i figured i would ask here to get the best solution. I know that it is rather complicated, but my program only needs to understand maybe 20 commands max. So if anyone could post help on where i even need to get started to start speech recognition in my program,
View 2 RepliesAll of the examples I'm finding on the internet are 5 or 6 years old or they are text-to-speech and I need speech input capability. I have a form that I would like to be enterable by voice.One of the textboxes on the form is for a description so I need something that will understand the spoken English language as well as possible.
View 1 RepliesSo, you've all probably seen Iron Man where Tony interacts with an AI system called Jarvis. Demo clip here (Sorry it's a commercial).I'm very familiar with C#, C++ and Visual Basic, but I am unsure what options I have available for me to program something like this. Ideally, I'd like to have it assist me while working on some projects by automating a few things.
After doing a bit of research, I saw that a lot of people where using apple script. Well, I'm a windows developer and I work on windows, SO, that won't work.Microsoft has a Speech SDK, but I hear that I can't program it to learn custom words... as in it just uses it's standard library. Is this true? What are the other limitations of speech recognition with the SDK? Is there something else then?
Also, which language would be better to use for a project like this? C# or VB?
I've written a "quick and dirty" GUI interface for a CLI chat program, and I've been trying to integrate TTS and Speech Recognition into it, so that the user can "have a conversation" with a chat bot, rather than just "type and read". The TTS portion works well (barring some small pronunciation issues - I have yet to find a TTS voice that can properly pronounce "Geek" without my having to mangle the spelling), and the SR module works well.
If I have the TTS module disabled. The problem I'm having is that the SR module is processing the output from the TTS, and causing issues where an ever-increasing string of TTS output occurs, causing undesirable results. I've tried several methods of temporarily disabling Speech recognition, none of which have proved useful. Below are some short code snippets that I've tried to use:
Imports SpeechLib
Imports System.Drawing
Imports System.Net.Sockets
Public Class Form1
Public voice As New SpVoice
[Code] .....
i got "A first chance exception of type 'System.PlatformNotSupportedException' occurred in System.Speech.dll"and "A first chance exception of type 'System.NullReferenceException' occurred in System.Speech.dll" error while debugging the code i got from here
View 1 RepliesI want to basically have a program that recognizes certain phrases from the microphone just like windows speech recognitionI pretty much think that it is probably going to be a microphone stream and then have speech recognition somewhat like Kinect speech recognition but in VB and not using XNA game studio.
View 6 RepliesI am trying to create a VB.Net form that recognizes speech. When I run it, I get the error "Speech recognition is not available on this system. SAP and Speech Recognition engines cannot be found." So, following Microsoft's instructions, I discover that there is no Speech tab in Speech Properties (which appear when I click on Speech in the control panel). I am using Windows XP Professional. Only a Text-to-Speech tab, no speech recognition tab. To install the speech engine, I went to Add or Remove Programs/ Change Microsoft Office Enterprise 2007/ Add or Remove Features. However there is no "Alternative User Input" as per the instructions. How can I get this speech recognition engine installed?[code]...
View 6 RepliesI want program recognition speech in Arabic how can i do that
View 1 RepliesWhat is the code to turn listening on and off. Speech Recognition with VB 2008.
View 2 Repliesok i want the speech recognition to listen to me but not do anything unless it hears a certain word or phrase
View 4 Repliesif it would be possible to call the already written dragonspeak code into a vb.net program the microsoft speech sdk blows, and i am writing code to control functions of my house and I want it to work well, but microsoft sdk blows.
View 2 RepliesI have been away from programming for many years and I am trying to develop a simple speech recognition app in visual basic. Here is the problem that I am experiencing:[code]
View 7 RepliesI want to enable voice recognition in my vb application witouh havin to use windows speech recognition, is it posible if not how can I add a my own command to turn on the recognition on windows the default command is strat listening but I want it simple like "activate", also I would like to record my own voice command using my app, I say activate I put this code : Grammar.DictationSetState(SpeechLib.SpeechRuleState.SGDSActive), but it does not turn on windows voice recognition
View 1 RepliesInstead of repeatedly saying "show numbers" to get the numbering of clickable items to appear with Speech Recognition in Windows 7, I want to assign a keyboard shortcut to trigger this command. How can this be done?
I have been trying to use EmulateRecognition in the Speech API, but the most I've been able to get it to do is display the words "show numbers" in the Speech Recognition window; it hasn't actually performed the show numbers command using this method.
How can you make a speech recognition program, without using vista.
Dim Talk as new system.recognize.speech()
textbox1.text = talk
We are doing a project in speech recognition using vb.net we have achieved the text to speech but still there is some problem in speech to text. We have some problems in creating grammar files so, any tips or coding for creating grammar file.
View 1 RepliesI have just bought a new mic. It works just fine with Sound Recorder and MSN Messenger, but not speech recognition. Whenever I try to start Speech Recognition, it says something like "Speech Recognition could not start because the language configuration does not match the one Speech Recognition is using". The language I probably need to use is Microsoft Recognizer v5.1. But whenever I select it, it says that the engine could not be created. I already have my mic configured properly and even the tutorial works perfectly fine and same with the Training the computer thingy.
View 1 RepliesI want to create a speech recognition add-in to work with MS Word for my local language (other than English)
Does System.speech will work for me or something else is required?