VoxForge
While I try to generate fsg file using the sphinx_fsgf2fsg , I got an error "segmentation fault".
Can anyone please help me.
--- (Edited on 4/10/2013 7:33 am [GMT-0500] by Senjam) ---
Please provide more details
Which sphinxbase version are you using
What is your operating system
What is the command line you are using
Please share the data files you are trying to convert
--- (Edited on 4/11/2013 01:17 [GMT+0400] by nsh) ---
Hi thanks for the reply.
My operating system is Ubuntu 10.10.
I am using sphinxbase-0.6.
My jsgf file has the following content.
#JSGF V1.0;
grammar digit;
public <top> = (<s> <words> </s>);
<words> = WA |AN | TU | U | THR | FO | OR | F | IB | SI | EKS | SA | BEN | I | ET | N | AA | EN | JI | RO ;
I ran the following command in the ubuntu terminal:
sphinx_jsgf2fsg < digit.jsgf > digit.fsg
After I run the command above, I get the following error:
root@ubuntu:/home/Desktop/sphinx3/tool/sphinxbase/bin# sphinx_jsgf2fsg < digit.jsgf > shantii.fsg
INFO: jsgf.c(546): Defined rule: <digit.g00000>
INFO: jsgf.c(546): Defined rule: PUBLIC <digit.top>
INFO: jsgf.c(546): Defined rule: <digit.words>
ERROR: "jsgf.c", line 331: Undefined rule in RHS: <digit.s>
The error seems to be with the "<s>" and "</s>".I need to include these as I am using silence in the transcription file as
<s> ONE </s>.
If you see the error please help.
Thanks,
Senjam Shantirani
--- (Edited on 4/12/2013 7:51 am [GMT-0500] by Senjam) ---
> The error seems to be with the "<s>" and "</s>".
Yes, JSGF syntax doens't allow symbols like that
> I need to include these as I am using silence in the transcription file as
No, you don't need to include sentence start and sentence end tags, they are included automatically. You can just remove them from the grammar. Transcription lines are irrelevant here.
Please look on other JSGFs for example and check JSGF format documentation.
--- (Edited on 4/12/2013 21:42 [GMT+0400] by nsh) ---