You can try to build sphinxbase snapshot from today. It has better error
reporting, should show you the exact location where you made a syntax error in
the grammar.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello
I use the latest sphinxbase. And then executed. Tips are as follows:
INFO:fsg_search.c(134):FSG(beam:-1105112,pbeam:-1105112,wbeam:-648215;wip:-27995,pip:0)grammar'jsgf_parser.y", line 155: syntax error, unexpected TOKEN, expecting GRAMMAR at line 1 current token 'ERROR:"jsgf.c",line722:FailedtoparseJSGFgrammarfrom'../../../../cmuclmtk/1306/etc/1306.jsgf'
I did not see the exception in the first line.
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I encountered an error.About jsgf.
my jsgf:
Another problem is: -jsgf can be used in android?
Thanks
What tools can be used to generate jsgf?
Try replacing digits with words. OR use underscore before digits, _1 , _2 and
so on
This thread might be related https://sourceforge.net/projects/cmusphinx/forum
s/forum/5471/topic/4567076
sorry ,He did not succeed!
My question is:
Please paste your modified jsgf file
HI.
4751.jsgf :
dic :
Thanks in advance!
You can try to build sphinxbase snapshot from today. It has better error
reporting, should show you the exact location where you made a syntax error in
the grammar.
hello
I use the latest sphinxbase. And then executed. Tips are as follows:
I did not see the exception in the first line.
thanks
Share the grammar file. You can upload it to a public file sharing resource
and provide a link here.
Hello , my 1306.jsgf :
I did not find anything unusual.
Thanks.
[url]http://sharesend.com/7nglk[/url]
Well, your grammar has CR symbols but no newlines. It's not a very common
thing around
Anyway, if you update to sphinxbase trunk it will parse this grammar properly.
Hello.
There are still problems.
Thanks
Provide more information. Provide log and stacktrace.
hello
How should I get log and stacktrace.
OK, This problem has been solved。
Thanks