hi all
I have 2 questions:
1)
I am tring to develop a speech recognition program that will recognize a langugae like Arabic. Is it pssoble to speech recognize Arabic in C#?
if yes, can i get some links to any resources..etc
2)
I have windows xp (so as far as i know sapi 5.0 ships with it - i can also add a refernce to it). I just tried to see if i could speech recognize some Egnlish with the following code:
public partial class Form1 : Form
{
private SpSharedRecoContextClass contextClass;
public Form1()
{
InitializeComponent();
Initialize();
}
private void Initialize()
{
try
{
//here i get COMException
contextClass = new SpSharedRecoContextClass();
}
catch (COMException e)
{
}
}
void contextClass_Recognition(int StreamNumber, object StreamPosition, SpeechRecognitionType RecognitionType, ISpeechRecoResult Result)
{
MessageBox.Show("You said: " + Result.PhraseInfo.GetText(0, -1, true));
}
}
The description of the COMException is:
Creating an instance of the COM component with CLSID {47206204-5ECA-11D2-960F-00C04F8EE628} from the IClassFactory failed due to the following error: 8004503a.
can anyone explain how to fix this problem?
thx alot