SPPHRASEREPLACEMENT
This structure contains text to replace the display text of one or more spoken words. SR engines use the structure to perform inverse text normalization (ITN). For example, the spoken words "twenty" and "three" are replaced by the text "23".
typedef struct tagSPPHRASEREPLACEMENT{
BYTE bDisplayAttributes;
const WCHAR* pszReplacementText;
ULONG ulFirstElement;
ULONG ulCountOfElements;
} SPPHRASEREPLACEMENT;
Members
- bDisplayAttributes
One or more display attributes for the replacement text. Possible values are defined for the SPDISPLAYATTRIBUTES enumeration. - pszReplacementText
Pointer to the replacement text. - ulFirstElement
Offset in the original text of the first spoken element to be replaced. - ulCountOfElements
Number of spoken elements to replace.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
See Also
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.