Click here to Skip to main content
15,884,388 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 6:13
benjamin yap18-Dec-09 6:13 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 6:27
sitebuilderLuc Pattyn18-Dec-09 6:27 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 6:46
EliottA18-Dec-09 6:46 
QuestionSAPI Training From Wav File Pin
mudrugger18-Dec-09 4:24
mudrugger18-Dec-09 4:24 
AnswerRe: SAPI Training From Wav File Pin
Migounette18-Dec-09 13:42
Migounette18-Dec-09 13:42 
GeneralRe: SAPI Training From Wav File Pin
mudrugger18-Dec-09 14:17
mudrugger18-Dec-09 14:17 
GeneralRe: SAPI Training From Wav File Pin
Migounette19-Dec-09 7:01
Migounette19-Dec-09 7:01 
GeneralRe: SAPI Training From Wav File Pin
mudrugger21-Dec-09 2:17
mudrugger21-Dec-09 2:17 
Hi Thanks for your help.
I also did not find the interface for ISpTranscript in the System.Speech assembly or directly in the SpeechLib.dll.
However, I finally tried it out in C++ and was able to find the interface for it.
It is declared in the sapi.h header file and it could be instatiated using the CoCreateInstance method.

Since I was not able to find any information on it anywhere for over a month, I will go out on a limb and say that ISpTranscript can not be instantiated in C# for training the speech engine with your own custom string. I hope this educated opinion will stop someone else from searching for an answer on the internet for too long. If it can be done, please prove me wrong Smile | :)

When coding in C++ you will also need to update sphelper.h in a few places in order to get it to compile.
See this link for help:
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/38085678-e54c-4923-b817-3790b3634798/[^]

The C++ code for getting the ISpTranscript interface to instantiate could be found here:
http://msdn.microsoft.com/en-us/library/ms717071(VS.85).aspx[^]
GeneralRe: SAPI Training From Wav File Pin
taneem78511-Mar-10 3:30
taneem78511-Mar-10 3:30 
GeneralRe: SAPI Training From Wav File Pin
mudrugger1-Mar-10 8:15
mudrugger1-Mar-10 8:15 
GeneralRe: SAPI Training From Wav File Pin
aidesigner30-Nov-11 17:21
aidesigner30-Nov-11 17:21 
QuestionColor dropdown for new Toolstrip [modified] Pin
Jim Crafton18-Dec-09 4:08
Jim Crafton18-Dec-09 4:08 
QuestionShift operator [modified] Pin
thungphan18-Dec-09 3:23
thungphan18-Dec-09 3:23 
AnswerRe: Shift operator Pin
thungphan18-Dec-09 4:30
thungphan18-Dec-09 4:30 
GeneralRe: Shift operator Pin
Rob Philpott18-Dec-09 4:42
Rob Philpott18-Dec-09 4:42 
GeneralRe: Shift operator Pin
thungphan18-Dec-09 4:54
thungphan18-Dec-09 4:54 
AnswerRe: Shift operator Pin
harold aptroot18-Dec-09 4:55
harold aptroot18-Dec-09 4:55 
AnswerRe: Shift operator Pin
Luc Pattyn18-Dec-09 5:09
sitebuilderLuc Pattyn18-Dec-09 5:09 
AnswerRe: Shift operator Pin
thungphan18-Dec-09 17:05
thungphan18-Dec-09 17:05 
GeneralRe: Shift operator Pin
harold aptroot19-Dec-09 3:29
harold aptroot19-Dec-09 3:29 
QuestionTwo ListViews Pin
Tagamoga18-Dec-09 2:38
Tagamoga18-Dec-09 2:38 
AnswerRe: Two ListViews Pin
benjymous18-Dec-09 3:14
benjymous18-Dec-09 3:14 
GeneralRe: Two ListViews Pin
Tagamoga18-Dec-09 3:29
Tagamoga18-Dec-09 3:29 
Questionzedgraph Pin
jashimu18-Dec-09 2:16
jashimu18-Dec-09 2:16 
AnswerMessage Closed Pin
18-Dec-09 2:50
stancrm18-Dec-09 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.