]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
quick_lm.pl - will compile a sentence file into an lm for use with pocketpshinx.
authorBrian West <brian@freeswitch.org>
Thu, 17 Jul 2008 04:21:28 +0000 (04:21 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 17 Jul 2008 04:21:28 +0000 (04:21 +0000)
commitbcb7bc63aa71f831bbcbfc987262d1ebebf9e314
tree2c20d4ac311c3a8a1af493e81bc73da70c31a0ed
parent76d581387b30526b04cffc2a3a4486661241b616
quick_lm.pl - will compile a sentence file into an lm for use with pocketpshinx.
mklm        - this wraps quick_lm.pl and builds the dictionary for the lm.
Makefile.gram - is installed ito prefix/grammar so you can just put your sentence files in the grammar directory and type make.

The sentence file format is:

<s> YES </s>
<s> NO </s>

Save this in yesno.sent and place in grammar directory.

cd grammar
make

To wipe out all the grammars type

make clean.

Please test and report any issues.  This should allow you to build lm's with ease.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9067 d0543943-73ff-0310-b7d9-9358b9ac24b2
scripts/Makefile.gram [new file with mode: 0644]
scripts/mklm [new file with mode: 0755]
scripts/quick_lm.pl [new file with mode: 0755]
src/mod/asr_tts/mod_pocketsphinx/Makefile