Logo
Explore Help
Sign In
kenmirrors/freeswitch
1
0
Fork 0
You've already forked freeswitch
mirror of https://github.com/signalwire/freeswitch.git synced 2025-05-09 00:56:00 +00:00
Code Issues Projects Releases Wiki Activity
freeswitch/scripts/Makefile.gram

14 lines
203 B
Makefile
Raw Normal View History

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
2008-07-17 04:21:28 +00:00
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."
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 230ms Template repo/home: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API