Compartir a través de


SPPHRASEREPLACEMENT (Windows CE 5.0)

Send Feedback

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{  BYTEbDisplayAttributes;  constWCHAR* pszReplacementText;  ULONGulFirstElement;  ULONGulCountOfElements;} 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

SAPI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.