DefaultLanguage

Preloads a language during Recognizer startup, and sets the default for built-in grammars.

Value

A language code.

Default

default (first language installed)

How to set

Shown in precedence order (see Rules of parameter precedence):

Using the parameter swirec_default_language in the application’s session.xml.

As an environment variable.

In the SpeechWorks.cfg configuration file.

If both locations are defined, the environment variable is used rather than the value in the configuration file.

Usage

Occasionally used by system administrators to set the default on a recognition host.

VoiceXML applications and browsers do not use this parameter. Instead, applications set speech-language in the session.xml file, and browsers set the MRCP Speech-language header.

The Recognizer loads the default language models during initialization, and loads other language models at runtime as needed. The default is used for built-in grammars and simple text dictionaries that do not declare their language.

During Recognizer installation, system administrators install at least one language. The first language pack installed becomes the default language for the system. System administrators can change the default language to improve performance (by loading the new default before it is needed for recognition).

This parameter is for systems where the first language installed is not the desired default. For example, a Spanish application running on a system where English was installed first.

Download Recognizer languages from Nuance Network at Nuance Network: click the Languages link under the Nuance Recognizer product.

Related parameter