|
PocketSphinxPlugin
How to integrate PocketSphinx ASR into UniMRCP server.
1. OverviewThis guide describes how to use PocketSphinx ASR with UniMRCP server. It assumes you are already familiar with installation and configuration tips of UniMRCP server.
2. Requirements
3. BuildGNU Build (Linux and other Unix variants)
./configure make
./configure --enable-pocketsphinx-plugin --with-pocketsphinx=path-to-pocketsphinx --with-sphinxbase=path-to-sphinxbase make make install
VS2005 Build (Windows XP, Vista, ...)
4. ConfigurationSpecify mrcppocketsphinx as a plugin in unimrcpserver.xml as follows: <plugin>
<engine name="PocketSphinx-1" class="mrcppocketsphinx" enable="1"/>
</plugin>There can be multiple plugins of the same resource and it's possible to configure profile based plugins. However for the beginning you may want to enable only PocketSphinx ASR plugin and disable other ASR plugins. <!-- PocketSphinx Document -->
<pocketsphinx>
<!-- Senstitivity level and timeout are used for voice activity (speech) detection
reasonable values: level is in [2..250] range, timeout is in [100..500] msec range
-->
<sensitivity level="50" timeout="300"/>
<!-- Default values for noinput and recognition timeout,
these values can be overriden by client's requests
-->
<timers noinput-timeout="10000" recognition-timeout="15000"/>
<!-- PocketSphinx related model and dictionary data.
Default dir (dir="") is InstallDir/data
-->
<model dir="" narrowband="communicator" wideband="wsj1" dictionary="default.dic" preferred="narrowband"/>
<!-- <model dir="/usr/local/freeswitch/grammar" narrowband="model/communicator" wideband="model/wsj1" dictionary="default.dic"/> -->
<!-- Enable to save utterance.
Default dir (dir="") is InstallDir/data
-->
<save-waveform dir="" enable="0"/>
</pocketsphinx>
|
Sign in to add a comment