Share via


How to: Create Tags

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Use tags in Speech Prompt Editor to identify varying recordings of the same text. For example, the word "medium" might be recorded both in a question and in a statement. Marking each recording with a unique tag allows the application to select the correct recording at run time.

Speech Prompt Editor displays tags in the following three locations:

  • The Transcription column in the Transcription pane
  • The Tag column in the Extraction pane
  • TheExtraction property in the Properties window

Multiple tags can be associated with a single extraction. Use semicolons as a separator when entering multiple tags.

The following transcription markup creates both a name tag and a male tag. When used in an application, a prompt can request the name tag, the male tag, or both tags to identify this particular extraction.

Hello [Scott{name;male}]

Note

If a prompt requests but cannot find an extraction that contains all of the requested tags, the prompt engine searches only for an extraction that matches the transcription and not the extraction with the most matching tags.

Entering Tags in the Transcription Pane

To enter tags in the Transcription pane

  1. Open a prompt database.

    For more information, see How to: Open a Prompt Database.

  2. In the Transcription pane, select a row containing an extraction, and then click the Transcription cell.

  3. In the Transcription cell, enter tag text with braces ({}) surrounding the tag text within the brackets enclosing the extraction.

  4. Press ENTER.

Entering Tags in the Extraction Pane

To enter tags in the Extraction pane

  1. Open a prompt database.

    For more information, see How to: Open a Prompt Database.

  2. In the Extraction pane, select a row containing an extraction, and then click the Tag cell.

  3. In the Tag cell, enter the tag text.

  4. Press ENTER.

Entering Tags in the Properties Window

To enter tags in the Properties window

  1. Open a prompt database.

    For more information, see How to: Open a Prompt Database.

  2. In the Extraction pane, select a row containing an extraction.

  3. In the Properties window, select the Tag property, and then enter tag text.

  4. Press ENTER.

See Also

Other Resources

Prompt Projects and Databases
Prompt Transcriptions and Recordings