# Test prompt: testpmpt

Tests a prompt rules table. For more information, refer to Creating a prompt rules table.

testpmpt tests new prompt rules without having to pre-record the actual voice messages. After rules are created or edited in a prompt rules text file (.ptx), they are compiled into a rules table (.tbl) file using mkprompt.

You must create a text description for each message in a text file with the same root name as the .tbl file. The text description has the following format:

nn:description

where nn is the message number being described.

Use the vcecopy utility to copy the message text into the .vox file that contains, or will contain, the recorded prompts.

When this utility is executed, the rules table and the voice or text file are loaded. You are prompted to enter a text string that the prompt builder processes.

#### Usage

testpmpt [options]

where options are

Option | Use this option to specify the...
--- | ---
-p table | Prompt table name (assumes a .tbl extension). The default name is american.
-v voicefile | Name of the voice file containing the message text (assumes a .vox extension). The default is the same name as the table.
-t text | Name of the file containing prompts in text form (assumes a .txt extension). testpmpt does not look for a voice file if you specify a text file.

#### Example

testpmpt -p american
Natural Access Test Prompt Utility V 1.2 (Dec 11 1997)
Prompt table = american.tbl
Prompt text from american.vox
Enter text: 1/15/98
January fifteenth nineteen ninety eight
Enter text: 12345
twelve thousand three hundred forty five
Enter text: 12:34:34
twelve thirty four and thirty four seconds P.M.
Enter text: 12:34
twelve thirty four P.M.
Enter text: $416.23
four hundred sixteen dollars and twenty three cents
Enter text: