44#define GID_DICTATION 0
59 CComPtr<ISpRecognizer> pRecog;
60 CComPtr<ISpRecoContext> cpRecoContext;
61 CComPtr<ISpRecoGrammar> cpRecoGrammar;
62 CComPtr<ISpPhoneConverter> m_cpPhoneConv;
71 Recognition(std::string pathtobin, std::string lang);
95 static void _stdcall
sapi_callback(WPARAM wParam, LPARAM lParam);
99 void AddWord(std::string s_Rule, std::string s_Word);
Management of the recognition class .
void setVolume(int volume)
Set The volume for the recognition.
void callbackEventReco()
Recognition Event Callback.
void AddWord(std::string s_Rule, std::string s_Word)
Add word to recognition.
Recognition()
utils libraries
bool initializeObjects()
Init Recognition Objects.
int getVolume()
Get The volume from recognition.
~Recognition()
Recognition Destructor.
static void _stdcall sapi_callback(WPARAM wParam, LPARAM lParam)
Defines the SAPI callback.