language_identifier_languages

Permissible languages for automatic language identification in precedence order.

Value

One or more ISO language codes. The default is all installed languages that support automatic language identifiication.

You can either 3-letter or hyphenated codes (usually 4-letters). For example, enu or en-US for American English. For a list of codes, see For more, see Vocalizer languages and voices. To see the 3-letter language codes for the currently installed voices, run " nvncmdline-V".

How to set

Shown in precedence order (see Configuration precedence):

Set in the session xml file for the application. Configure the <speechsynth> element located under <sessionparameters>, <speechserver>.

API—Set as TTS_PARAM_LID_LANGUAGES in TtsSetParamsEx.

Set in a Vocalizer configuration file (tts_config.xml).

Usage

Seldom used (because the default is usually satisfactory).

The first languages in the value have higher precedence when Vocalizer has equal confidence when determining the matched language.

  • Enter each value as a <language_code> under the main <language_identifier_languages> element in the Vocalizer configuration file:
    <language_identifier_languages>
      <language_code>enu</language_code>
      <language_code>spm</language_code>
      <language_code>frc</language_code>
      <language_code>bae</language_code>
      <language_code>dad</language_code>
      <language_code>dun</language_code>
      <language_code>dub</language_code>
      <language_code>eng</language_code>
      <language_code>ena</language_code>
      <language_code>eni</language_code>
      <language_code>frf</language_code>
      <language_code>ged</language_code>
      <language_code>iti</language_code>
      <language_code>non</language_code>
      <language_code>ptp</language_code>
      <language_code>ptb</language_code>
      <language_code>spe</language_code>
      <language_code>sws</language_code>
    </language_identifier_languages>
  • For session.xml, use one <value> child element for each language, where the contents of the element is the 3-letter language code.
  • For API calls, specify an empty string or a comma-separated list of language codes. An empty string specifies all the languages currently supported by the language identifier (a subset of all Vocalizer languages).

These languages support automatic language identification:

  • Basque
  • Danish
  • Dutch
  • English
  • French
  • German
  • Italian
  • Norwegian
  • Portuguese
  • Spanish
  • Swedish

Related properties:

language_identifier_mode

language_identifier_scope