ISpITNProcessor::LoadITNGrammar

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpITNProcessor::LoadITNGrammar

ISpITNProcessor::LoadITNGrammar loads an inverse text normalization (ITN) grammar. The loaded grammar can be used by either SAPI or the speech recognition (SR) engine.

HRESULT LoadITNGrammar(
   WCHAR   *pszCLSID
);

Parameters

pszCLSID
Address of the null-terminated string containing the CLSID of the ITN grammar object implementing ISpCFGInterpreter.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER pszCLSID is invalid or bad.
FAILED(hr) Appropriate error message.