Duplicate annotations returned from SAPI 5 grammar rule

Last reviewed: 12/12/2004

PRB Article ID: P120401

The information in this article applies to:

  • SpeechKit 4

Symptoms

For grammar rules with multiple sub-rules (i.e., RULEREFs) that define VAL and VALSTR attirbutes, the AnnotatedPhrase has duplicates for each sub-rule.

Cause

Recognition result properties parsing was appending to the annotated phrase for all properties traversed on the tree.

Status

Fixed in SpeechKit 4 build 4.0.108.0.

Component Formats Impacted

All component formats.