Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method parses an ITN phrase using the ITN grammar loaded by ISpITNProcessor::LoadITNGrammar. If a match is found during the parse, the ITN grammar adds the display text replacement. For example, "$100" is replaced for "one hundred dollars".
HRESULT ITNPhrase( ISpPhraseBuilder* pPhrase);
Parameters
- pPhrase
[in] Pointer to an object implementing ISpPhraseBuilder that contains the phrase to parse.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | No words are available. |
SP_NO_RULE_ACTIVE | No rules are available. |
E_OUTOFMEMORY | Not enough memory to complete operation. |
FAILED(hr) | Appropriate error message. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
ISpITNProcessor | SAPI Interfaces
Send Feedback on this topic to the authors