SPPHRASEREPLACEMENT (Windows Embedded CE 6.0)
1/6/2010
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".
Syntax
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
Header | sapi.h, sapi.idl |
Windows Embedded CE | Windows CE .NET 4.1 and later |