Speech Automation in word from c#.net

A

Anurag Mehrotra

hi...

i am trying to call speech to text feature provided by microsoft word from C
# but i am not able to find any method that can do so. I know how to open a
new document from .net. Can someone please give me any link or any method
that helps me in automationg 'Speech' feature of microsoft word from C# .net
its urgent

i m using Microsoft Word 2003 and C# .net Expreess Edition
Thank you,

Anurag
 
T

TD

If I'm not mistaken, the voice recognition engine with Office is only
available with Office 2003 Professional version ( I'm not sure about 2007 ).
It is not installed by default. You will need to go through the custom
installation and specifically select it or install the entire Office
package.
There isn't any methods to automate voice recognition through Office
because voice recognition is quite a bit more complex then that. If I'm not
mistaken the correct way to use voice recognition with Office it to set it
up through your language options in Control Panel. Once you have done that
you can use voice recognition just about everywhere there is an edit box so
there really would be no reason to try and automate this process unless you
are looking to setup a command and control type recognition as opposed to
using it for dictation. If you are using Windows XP or greater you can set
it up by going to Control Panel->Regional and Language Options->Languages
Tab->Details and add Speech Recognition to your Installed Services. This
will add a voice recognition panel to your task bar that will let you turn
on/off the microphone, open up your speech options etc etc ...
Be forewarned ... although Microsoft has made great strides in their voice
recognition engine it still leaves a lot to be desired in the way of
dictation ( Command and Control is a different story ... I would recommend
it if you are using it for this ). If you are looking to setup some specific
words that, when the user says these specific words, you do something based
on that then this is considered "Command and Control" as opposed to
Dicatation. To get some more information on building a voice recognition
applications you will need to download the SAPI 5.1 SDK.
 
A

Anurag Mehrotra

hi...
thnks for replying
but thr is another option of using speech to text
go to speech option in tools menu of MS Word 2003 thr is an option called
speech click on it, if this feature is not installed it will directly get
installed. As thr is this option in the tools menu i dont think automating
speech will be that difficult there must be some method available in word
that i can use
i will be highly delightful if u can help me in searching for such a method,
if it exists.
I m working on an application that uses speech to text conversion of
microsoft so i desperately need to automate speech to text
 
C

Cindy M.

Hi =?Utf-8?B?QW51cmFnIE1laHJvdHJh?=,
i am trying to call speech to text feature provided by microsoft word from C
# but i am not able to find any method that can do so. I know how to open a
new document from .net. Can someone please give me any link or any method
that helps me in automationg 'Speech' feature of microsoft word from C# .net
its urgent
TD is basically correct: there is no interface for automating the speech
recognition from within the Office applications. Microsoft used the basic,
publicly available speech APIs for Windows to create its speech recognition
software. That is available only in "mid-Western U.S. English", mostly to show
it can be done. Any one wanting to provide speech recognition in other
languages or for other purposes needs to use these APIs.

Speech recognition is no longer a part of Office 2007. It's considered to be
part of the Windows operating system (and is in Vista).

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
S

Speechless

I agree with TD and Cindy. However, you can do a custom install of Office
2002/2003 marking all items as "not available" except "text to speech" and
"voice recognition". After the custom install, go to control panel, select
regional and language options, click on 'languages', 'details', 'language
bar' in that order, then select "show language bar on the desktop" and hit OK
which will take you back to the details menu and click on the Advanced Tab.
Then select "extend support of advanced text services to all programs. Click
on apply, ok etc. Then restart your computer. The Language Bar will appear
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top