Share via


Viewing and Editing SML

  Microsoft Speech Technologies Homepage

The SML tab on Speech Debugging Console enables developers to view and edit the Semantic Markup Language (SML) output from the most recent successful speech recognition or dual tone multi-frequency (DTMF) collection.

Edit SML results by clicking Enable SML Editing on the Speech Debugging Console toolbar. Toggle this button from the toolbar while Speech Debugging Console is open, or apply default settings while configuring Speech Debugging Console. If toggled from the toolbar, SML results are editable after the next recognition.

The following SML markup can be edited:

  • Recognition string
  • Confidence scores
  • Semantic tags and values

Consider the following rules when submitting edited SML to the application:

  • The SML must be valid XML code.
  • The document element must be <SML>.
  • The document element must have a confidence attribute.
  • The document element must have a text attribute.
  • All confidence attributes must have a value between 0 and 1.

After editing the SML results, click Submit to send the modified results to the application. If the edited results cannot be matched to the current grammar, the prompt engine sends the edited text directly to the text-to-speech engine, bypassing a prompt database search.

If an edited phrase matches the current grammar, the application uses the newly edited SML results instead of the original SML results.

To reset the SML results to the most recent successful recognition results, click Reset.

See Also

Debugging Speech Applications | Debugging the Tutorial Application