Prompt builder files

This topic presents the runtime and source files delivered with the prompt builder.

Runtime files

File name

Description

american.tbl

Compiled rules table for standard American English. The prompt builder uses the rules contained in this file to build a list of message numbers that can be sent directly to vcePlayList to say dates, times, numbers, and dollar amounts. The supplied American rules table contains the following criteria:

  • Any number from 0 to 999,999,999,999 with or without commas.

  • Decimal fractions of any length.

  • Dates in MM/DD, MM/DD/YY, or MM/DD/YYYY format.

  • Time in HH:MM or HH:MM:SS 24 hour format where hour is 0 to 23.

  • Dollar amounts in $DDD,DDD.CC format, with or without cents or commas.

  • Months and days of the week in the following format:
    MON, TUE, WED, THU, FRI, SAT, SUN, JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC.

  • The words: AT, AND.

Any space-separated list of these formats is transmitted in succession separated by pauses. Strings starting with @ (at sign) are spoken as individual digits, with pauses at spaces and hyphens. All other characters are ignored.

american.vox

Default voice message library for the standard American prompts. This file is opened and specified in vcePlayList in conjunction with the message list output of vceBuildPromptList. This file can be re-recorded to change the voice that speaks the prompt builder prompts. This file also contains a brief text description of each message.

mkprompt.exe

Prompt table compiler used to compile prompt rule text files (.ptx) into prompt rules tables (.tbl). For more information, refer to the mkprompt utility.

testpmpt.exe

Prompt test utility, used when developing new rules or editing existing ones. This utility enables you to try rules without having to record voice messages. For more information, refer to the testpmpt utility.


Note: mkprompt and testpmpt are .exe files in Windows only.

Source programs

File name

Description

american.ptx

Source rule file for the standard American rules. It can be compiled into american.tbl using mkprompt. New rules can be added and then compiled into a .tbl file.

testpmpt.c

Source to the prompt test utility. This file demonstrates how an application uses the prompt builder functions.


To re-record american.vox, use vceinfo to list the message descriptions in american.vox. Follow the list to create a new american.vox.