Plugin_Julius

Plugin_Julius

Speech recognition engine.

  • Default system jconf file is jconf_ja_JP.txt for desktop, jconf_ja_JP_for_mobile.txt for mobile devices.
  • Also load “xxx.jconf” in the content folder, where xxx is the base name of the .mdf file.
  • User dictionary “xxx.dic” will be also loaded.
  • If a model has a morph named “volume”, its rate will be dynamically changed by the input volume.
  • If a model has a morph named “trigger”, its rate will be switched to 1.0 while performing recognition, and 0.0 while not.
  • This plugin can be enabled and disabled either by message or by menu. When disabled, RECOG_EVENT_AWAY|ON event will be issued and audio input will be muted input by setting audio scale to 0.0. When enabled, RECOG_EVENT_AWAY|OFF event will be issued and audio input will be restored.

Recognition result notification:

RECOG_EVENT_START
RECOG_EVENT_STOP|(word1,word2,...)
RECOG_EVENT_OVERFLOW
RECOG_EVENT_GMM

Away notification:

RECOG_EVENT_AWAY|ON
RECOG_EVENT_AWAY|OFF

Set Audio scaling (1.0 = read as is):

RECOG_MODIFY|GAIN|scaling_value
RECOG_EVENT_MODIFY|GAIN

Switch jconf and re-start engine. jconf_file path should be relative to AppData/Julius, not the content folder:

RECOG_MODIFY|CHANGE_CONF|jconf_file

Swap user dictionary:

RECOG_MODIFY|USERDICT_SET|(dictionary file path)
RECOG_MODIFY|USERDICT_UNSET
RECOG_EVENT_MODIFY|USERDICT_SET
RECOG_EVENT_MODIFY|USERDICT_UNSET

Word prediction (internal use):

RECOG_MODIFY|PREDICTWORD_FACTOR|float
RECOG_MODIFY|PREDICTWORD|word1,word2,word3,...

Enable / disable:

PLUGIN_ENABLE|Julius
PLUGIN_DISABLE|Julius
PLUGIN_EVENT_ENABLE|Julius
PLUGIN_EVENT_DISABLE|Julius