Specifying property name (PROPNAME=) tag in SAPI5 xml grammar returns incorrect HasPhrase result

Last reviewed: 8/1/2001

PRB Article ID: P050109

The information in this article applies to:

  • SpeechKit 3


Using a property name tag (PROPNAME=) in a SAPI5 grammar without using any VAL= or VALSTR= tags results in the recognized phrase duplicated with the first word missing in the duplication.


SAPI5 grammar property name (PROPNAME=) tags are used in conjunction with defining annotations. If one subrule use a property tag for annotations, then all subrules must declare a property tag even though they do not use annotations (VAL= or VALSTR= tags). This ensures that recognition result property tree is populated by the SAPI5 recognizer correctly and parsed by the ChantSR component correctly.

See the drvthenu.xml grammar file for an example.


Fixed in SpeechKit 3 SR2.

Component Formats Impacted

All formats.