Commit Graph

144 Commits

Author SHA1 Message Date
Brian West
54ff389b09 Revamp mod_pocketsphinx to use jsgf format. Known bugs which are going to be fixed are:
Using words in your grammar that aren't in the dictionary will segfault.  Bug is already brought up with the pocketsphinx maintainer.

/b



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 22:47:15 +00:00
Brian West
ccdc6ec202 elaborate on this example more and show off flite usage but its commented out by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12145 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 21:06:36 +00:00
Raymond Chandler
85529d1aa2 now it'll work for other people too ;-)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12127 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 00:02:11 +00:00
Raymond Chandler
a3260cb659 adding click to call similar to the perl example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12126 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-18 00:00:30 +00:00
Brian West
37e20b86c8 update callback.lua to show off the volume option
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12118 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 21:50:50 +00:00
Brian West
00dbfc6dd9 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12112 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 20:17:12 +00:00
Brian West
065dec4baa example click to call using new ESL lib in perl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12079 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 02:23:03 +00:00
Mathieu Rene
d059925b6e move gdbinit to support-d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 17:09:52 +00:00
Mathieu Rene
f8fee30b27 GDB Macros FTW
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 17:05:16 +00:00
Brian West
f7e1e37e4c don't delete the gcore might not get a second chance
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11975 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 23:46:29 +00:00
Brian West
0dc800c78e doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-06 16:05:46 +00:00
Anthony Minessale
a223a59d5e fix regression in previous fix for MODAPP-209
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11663 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-06 16:03:56 +00:00
Brian West
d4f2046712 FSSCRIPTS-14
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 14:34:10 +00:00
Brian West
afea7422b6 I don't wanna loose this. ;)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-27 19:29:28 +00:00
Ken Rice
e2f1e58bd2 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10932 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-23 21:53:49 +00:00
Anthony Minessale
86567838c6 fix bug in FS Client.pm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-19 17:25:52 +00:00
Brian West
2d1d3d98ed FSSCRIPTS-9 thanks john, sound files will appear by friday for this
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 18:17:53 +00:00
Brian West
3410c58a2e FSSCRIPTS-8 Thanks John
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10776 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 18:16:34 +00:00
Stefan Knoblich
8719823f5d Fixup output of fsxs --variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-27 21:40:29 +00:00
Brian West
d0d28568fe FSSCRIPTS-7
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-28 10:22:31 +00:00
Brian West
c87ae6141d tweak FreeSWITCH::Client to not delete keys that are already lowercase ie. variables in the events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10041 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-16 00:23:46 +00:00
Brian West
7ee91be602 Gizmo config script
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 23:33:53 +00:00
Anthony Minessale
f3b413edf1 write cng frames during sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-03 18:14:11 +00:00
Brian West
d1ab9fadb2 add quick debug util for trying to debug sofia... crank up the debug. christian sent it in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9593 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-18 23:40:26 +00:00
Traun Leyden
1daedabfbb improve debuggability
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-18 00:07:15 +00:00
Traun Leyden
ce77b437f1 improve docs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9529 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-11 22:25:35 +00:00
Traun Leyden
5c1982a295 set field so the protocol object can easily get factor instance. add ability to add observers for specific events and dispatch events to observers. still more work needed there, since there is no relation between observers and what events are subscribed from freeswitch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9528 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-11 21:12:43 +00:00
Brian West
564b5f4a79 create example of using the inputcallback to influence the playback of a file.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9501 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 14:05:48 +00:00
Brian West
4415976b8b FSSCRIPTS-4 thanks UnixDog
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:50:13 +00:00
Brian West
7e38be6d60 w00t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 03:00:14 +00:00
Brian West
80ddc15155 lets flip it around. 0 bad 100 good in pocketsphinx now. Scoring in the lib was changed so I had to do this change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-29 01:25:29 +00:00
Brian West
3c0842d438 add scripts from MODAPP-89
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-24 16:14:20 +00:00
Brian West
bcb7bc63aa 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
Traun Leyden
995f477475 fixed protocol incompatibility, make more robust and less anal regarding spurious blank lines, debugging instructions added to README. debug off by default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9009 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-13 04:10:52 +00:00
Traun Leyden
f01fde034c add debugging information
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-13 03:14:44 +00:00
Brian West
2380cce175 works better if you do this correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-12 22:05:13 +00:00
Brian West
ebb35b5d97 tweaks to speech tools to score differently for pocketsphinx
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9003 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-12 15:41:04 +00:00
Brian West
cb7ee06afc tweaks for scores in ps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8990 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 19:33:38 +00:00
Brian West
285b140571 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 02:14:14 +00:00
Brian West
7f4041da68 add additional regexp for testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8980 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 01:51:47 +00:00
Anthony Minessale
fad3811708 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8969 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 22:30:40 +00:00
Brian West
32b3a852db add pocketsphinx pizza.js demo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 16:24:58 +00:00
Brian West
53fda0eeca tweaked SpeechTools
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 02:57:28 +00:00
Michael Jerris
36852b399e fix seg src/mod/languages/mod_python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 06:59:02 +00:00
Anthony Minessale
27b289bd4b add example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-23 19:17:47 +00:00
Michael Jerris
1f5d189782 more dapper stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-17 17:47:29 +00:00
Michael Jerris
094e837b94 make this work on dapper (no need for the tight version checking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-16 17:15:16 +00:00
Michael Jerris
39b6f21a4d a little packaging work
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-16 17:01:16 +00:00
Michael Jerris
152f090a44 start of packaging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-16 16:53:34 +00:00
Brian West
f57c69ceb0 thanks CtRiX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 16:44:33 +00:00