Testing installations with the sample application

The sample client application is a command-line program that executes MRCP scripts to exercise the system. You can test MRCPv1, MRCPv2, speech recognition, and text-to-speech with a variety of communications protocols.

Before testing, you must start the Nuance Recognizer and Speech Server services. (You can do this with Management Station or the command line.)

Testing essential connectivity, recognition, and text-to-speech

After starting the Nuance Recognizer and Speech Server services, use the provided scripts to run the sample client. There are different scripts depending on the communications protocol and system component (speech recognition or text-to-speech) you want to test.

To confirm connectivity, confirm the existence of output log files. (The logs are created in the current directory, and each MRCP file defines the log file name.

Windows: The default directory is protected and the logger can only write logs if you open your Command window as Administrator.) You can also review the actual contents of the logs to see the results of the recognition sequences. When you test text-to-speech, an audio output file is created in addition to a log.

Run the scripts found in this location:

Windows: %NSSSVRSDK%\client\scripts\*.bat

Linux: install_path/Speech_Server/Client/scripts/*.sh

Testing Dragon Voice

To test Dragon Voice components, log on to your Nuance Network account and the download VoiceXML Assist Package from the Nuance Speech Suite 11.0 area.

The package includes documentation, scripts, and artifacts (DLMs and so on) for you to configure and execute the scripts.

Note: The DLMs in the package are compiled for a previous release of the Krypton engine. You must re-compile them with Nuance Experience Studio before executing the scripts.

Changing the test language

The scripts provided for the sample client application use en–US language by default. You can modify the scripts to use any other installed language. For example, to recognize Canadian French, modify the language declaration in the digits grammar in demo.mrcp:

builtin:grammar/digits?language=fr-CA

To install additional languages, see Adding languages and voices.

Writing your own tests

You can use the provided scripts to write your own tests. For example, you can copy and modify any script to exercise different features and configurations. This is a good way to test the system and to learn how to manipulate MRCP code. Just remember to provide any new grammars or input audio files that you exercise.