forked from Mirrors/freeswitch
bcb7bc63aa
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
14 lines
203 B
Makefile
14 lines
203 B
Makefile
|
|
main: grammar
|
|
|
|
grammar:
|
|
@echo "Creating Grammar files..."
|
|
@../bin/mklm
|
|
@echo "Done."
|
|
|
|
clean:
|
|
@echo "Cleaning Grammar files..."
|
|
@rm -f *.fsg *.words *.dic *~ \#*
|
|
@../bin/mklm clean
|
|
@echo "Done."
|