<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>You have beat me to updating the docs. &nbsp;Maybe you can write the docs on the mod_pocketsphinx page.. which btw the module builds all its own depends no.</div><div><br></div>You're&nbsp;missing&nbsp;all&nbsp;the&nbsp;grammar&nbsp;files&nbsp;and&nbsp;you&nbsp;need&nbsp;the&nbsp;ps_pizza.js&nbsp;file&nbsp;thats&nbsp;in&nbsp;tree&nbsp;now..&nbsp;<div><br></div><div>Sphinx uses a different grammar format you can get the files to untar in the grammar folder at&nbsp;</div><div><br></div><div><a href="http://www.freeswitch.org/eg/pizza_grammar.tar.gz">http://www.freeswitch.org/eg/pizza_grammar.tar.gz</a></div><div><br></div><div><a href="http://www.freeswitch.org/eg/pizza._sounds.tar.gz">http://www.freeswitch.org/eg/pizza._sounds.tar.gz</a></div><div><br></div><div>you'll need the latest ps_pizza.js and install these files and update the sounds path.</div><div><br></div><div><br></div><div>/b</div><div>PS: try out mod_flite also.</div><div><br></div><div><br><div><html>On Jul 9, 2008, at 5:43 PM, Frederick Jabre wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">Hi All,<br><br>&nbsp;&nbsp; I've just setup mod_pocketsphinx on my freeswitch box. The module mod_pocketsphinx.so seems to be loaded successfully according to the freeswicth console. <br><br>&nbsp; At any rate, I am getting this error:<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mod_pocketsphinx.c:118 pocketsphinx_asr_load_grammar() Can't open dictionary.<br><br>&nbsp;when I try to use it in the pizza demo in the pizza demo via:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var asr = new SpeechDetect(session, "pocketsphinx", "<a href="http://127.0.0.1">127.0.0.1</a>");<br> <br>&nbsp;I'm sure it's not as simple as this of course. What other files do I need to get this demo going? And how different are the grammar files from the kind that Lumenvox uses..? Sample grammar files anywhere..?<br> <br>Thanks in advance..!<br>Fred<br> _______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>