PreviousNextIndex

Importing Built-in Grammar

A built-in grammar requires the columns name, mode, type, subtype, followed (optionally) by options. For example:

Here, column descriptions are:

name- grammar name

mode - dtmf or voice

type - external or builtin

subtype - is the builtin grammar type of number, time, date, digits, Boolean, phone, or currency.

options - options specific to the builtin grammar. Refer to the VXML specification for builtin grammar options.

The delimiter used in the text file can be a Tab, or another consistently used character in your file that does not conflict with the data content; for example, a pipe symbol (" | ") or comma.

Following is an example of a vertical bar delimited grammar file for built-in grammar:

test13|dtmf|builtin|currency

The column "options" after the "subtype" column in the delimited text file is optional

Following is an example of a vertical bar delimited grammar file for external grammar:

The column "slotname" after the column "mediatype" is optional.

To import a delimited grammar import data file, follow these steps:

  1. Create a delimited grammar import data file, as described in the previous discussion.
  1. Within the Dialog Designer Navigator panel, select the speech application project to import the grammar import data to.
  1. From the Main Menu bar, select File > Import. The Import selection dialog box is shown.
  1. Select Avaya Speech Development > Grammar Data, then click Next.
  1. The Import Grammar Data dialog box is displayed. Click Browse to navigate to your delimited grammar import data file to be imported.
  1. In the Target Grammar panel, and Language, which is updated based on the data within the grammar import data file.
  1. In the Options panel, select a Delimiter - Depending on the delimiter used in your phrase data file, select either the Tab option, or Other and indicate the delimiter character.
  1. After completing the step, click Finish.

PreviousNextIndex

©2009, Avaya Inc. All rights reserved.