mod_pocketsphinx: SpeechTools.jm error
HI, I'm trying to test pocketsphinx and have been looking at the pizza example from the wiki. When I try to execute the test, I get the following error in the log: 2014-06-05 13:29:10.176189 [ERR] SpeechTools.jm:188 Exception: SyntaxError: Unexpected identifier (near: " console_log("debug", "----Hit score " + result.interpretation.@confidence") It doesn't appear that SpeechTools.jm has been changed for a while. Any ideas?
Which JS engine are you using? -- Brian West brian@freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Jun 4, 2014, at 10:33 PM, Mark Campbell-Smith <mcampbellsmith@gmail.com> wrote:
HI,
I'm trying to test pocketsphinx and have been looking at the pizza example from the wiki.
When I try to execute the test, I get the following error in the log:
2014-06-05 13:29:10.176189 [ERR] SpeechTools.jm:188 Exception: SyntaxError: Unexpected identifier (near: " console_log("debug", "----Hit score " + result.interpretation.@confidence")
It doesn't appear that SpeechTools.jm has been changed for a while. Any ideas?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm using spidermonkey, but I got the same error using V8. On Thu, Jun 5, 2014 at 11:06 PM, Brian West <brian@freeswitch.org> wrote:
Which JS engine are you using? -- Brian West brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Jun 4, 2014, at 10:33 PM, Mark Campbell-Smith <mcampbellsmith@gmail.com> wrote:
HI,
I'm trying to test pocketsphinx and have been looking at the pizza example from the wiki.
When I try to execute the test, I get the following error in the log:
2014-06-05 13:29:10.176189 [ERR] SpeechTools.jm:188 Exception: SyntaxError: Unexpected identifier (near: " console_log("debug", "----Hit score " + result.interpretation.@confidence")
It doesn't appear that SpeechTools.jm has been changed for a while. Any ideas?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Is anyone using mod_pocketsphinx? Is there anyone that can help with my error or what other logs I can provide? Refresh: I'm trying to test pocketsphinx and have been looking at the pizza example from the wiki. When I try to execute the test, I get the following error in the log: 2014-06-05 13:29:10.176189 [ERR] SpeechTools.jm:188 Exception: SyntaxError: Unexpected identifier (near: " console_log("debug", "----Hit score " + result.interpretation.@confidence") It doesn't appear that SpeechTools.jm has been changed for a while. Any ideas? BTW, I have tried with spidermonkey and v8 with the same issue. Thanks On Thu, Jun 5, 2014 at 11:16 PM, Mark Campbell-Smith < mcampbellsmith@gmail.com> wrote:
I'm using spidermonkey, but I got the same error using V8.
On Thu, Jun 5, 2014 at 11:06 PM, Brian West <brian@freeswitch.org> wrote:
Which JS engine are you using? -- Brian West brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Jun 4, 2014, at 10:33 PM, Mark Campbell-Smith < mcampbellsmith@gmail.com> wrote:
HI,
I'm trying to test pocketsphinx and have been looking at the pizza example from the wiki.
When I try to execute the test, I get the following error in the log:
2014-06-05 13:29:10.176189 [ERR] SpeechTools.jm:188 Exception: SyntaxError: Unexpected identifier (near: " console_log("debug", "----Hit score " + result.interpretation.@confidence")
It doesn't appear that SpeechTools.jm has been changed for a while. Any ideas?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Mark Campbell-Smith