Language Identifier

A language identifier is part of the grammar header that specifies the language to be used when performing decodes.

The format of the language identifier follows the convention set out by RFC 3066. In a nutshell, the identifier is a language and country pair, like "en-US" for United States English. For more information, see Working With Languages.

The LumenVox Speech Engine supports the following languages:

en-US American English acoustic model and dictionary
en-AU Australian English acoustic model and dictionary
en-GB U.K. English acoustic model and dictionary
es-MX Mexican Spanish acoustic model and dictionary
es-CO South American Spanish acoustic model and dictionary
fr-CA French Canadian acoustic model and dictionary

To specify the interaction mode in a grammar, use the following syntax in your grammar:

ABNF

language en-US;

GrXML

<grammar language="en-US" ... >

Digits-only Grammars

Prior to version 9.1, LumenVox supported a non-standard language type with a suffix of "-di" to indicate the language only included digits.

This functionality is now obsolete, as the Engine will automatically determine when it should use a digits-only acoustic model. If you specify a language with a suffix of "-di" it will be ignored by the Engine in any release starting with version 9.1.

© 2012 LumenVox LLC. All rights reserved.