swirec_language_versions
Specifies the version of a Recognizer language to use.
Value |
Pairs of language codes and versions (installed Recognizer language packs). DEFAULT: (most recent version of each language) |
How to set |
In the application's session xml in the <speechrecog> section of <sessionparameters>. |
Usage |
Enables running a tuned application with an older language pack until the application can be migrated to a new language pack. Useful for migrating applications one at a time to the newest Recognizer release. Before migration, applications can use older language versions (with no change to performance). After migration, applications use the newest versions (with improved performance). |
This parameter enables having more than one version of a language installed on a system. Applications define which language version to use, and this ensures that the application retains any language-specific tuning when language updates get installed. The application can use its current language version while preparing a migration to the update.
Applications must use the same language version when compiling and running a grammar. When an application loads a binary grammar, the language used for compilation must match the runtime version. If not, Recognizer returns an error. Use the sgc argument -langver
to specify the language pack version to use when precompiling a grammar.
Sample definition in a session.xml file:
<speechrecog name="NR10">
.
.
.
<param name="swirec_language_versions">
<value>en-us 9.0.0</value>
<value>fr-ca 10.0.0</value>
</param>
.
.
.
</speechrecog>