Bokhari - 2009-06-03

Very good to see this arabic speech recognition system.

I am excited to use it, but having some problem in running it. I got following exception when I run the jar file as mentioned in the readme file.

\Dialog\bin>java -mx512m -jar Dialog.jar
Exception in thread "main" com.sun.speech.engine.recognition.TokenMgrError: Lexical error at line 6, column 10.  Encountered: "\u0
0a7" (167), after : ""
        at com.sun.speech.engine.recognition.JSGFParserTokenManager.getNextToken(JSGFParserTokenManager.java:1138)
        at com.sun.speech.engine.recognition.JSGFParser.jj_scan_token(JSGFParser.java:1068)
        at com.sun.speech.engine.recognition.JSGFParser.jj_3_1(JSGFParser.java:949)
        at com.sun.speech.engine.recognition.JSGFParser.jj_2_1(JSGFParser.java:943)
        at com.sun.speech.engine.recognition.JSGFParser.Name(JSGFParser.java:504)
        at com.sun.speech.engine.recognition.JSGFParser.GrammarDeclaration(JSGFParser.java:402)
        at com.sun.speech.engine.recognition.JSGFParser.GrammarUnit(JSGFParser.java:366)
        at com.sun.speech.engine.recognition.JSGFParser.newGrammarFromJSGF(JSGFParser.java:138)
        at com.sun.speech.engine.recognition.JSGFParser.newGrammarFromJSGF(JSGFParser.java:272)
        at com.sun.speech.engine.recognition.BaseRecognizer.loadJSGF(BaseRecognizer.java:273)
        at com.sun.speech.engine.recognition.BaseRecognizer.loadJSGF(BaseRecognizer.java:230)
        at edu.cmu.sphinx.jsapi.JSGFGrammar.commitChanges(JSGFGrammar.java:615)
        at edu.cmu.sphinx.jsapi.JSGFGrammar.createGrammar(JSGFGrammar.java:318)
        at edu.cmu.sphinx.linguist.language.grammar.Grammar.allocate(Grammar.java:163)
        at edu.cmu.sphinx.linguist.flat.FlatLinguist.allocate(FlatLinguist.java:319)
        at edu.cmu.sphinx.decoder.search.SimpleBreadthFirstSearchManager.allocate(SimpleBreadthFirstSearchManager.java:602)
        at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
        at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
        at demo.jsapi.dialog.DialogManager.allocate(DialogManager.java:146)
        at demo.jsapi.dialog.Dialog.append(Dialog.java:100)
        at demo.jsapi.dialog.Dialog.main(Dialog.java:139)