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


Twitter: @FreeSWITCH , @briankwest














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