VoxForge
Hi everyone,
Im running on ubuntu 12.10 64 bit system. When i tried to run: mkdfa.pl robotino, i got the problem:
robotino.grammar has 12 rules
robotino.voca has 12 categories and 29 words
---
---
no .dfa or .dict file generated
My robotino files: http://www.mediafire.com/?a651n8q4kzd4iyn,uvpxxm8g7p52go7
I also tried with other .grammar and .voca but got the same problem. The other used files: http://www.mediafire.com/?shjacdbn1ngrjuh,2yln4djtmdzjc4b
I also used dos2unix on .grammar and .voca file but still got the problem
When i examined source code of mkdfa.pl, i realized that
in the row: $status = system("$mkfabin -e1 -fg $rgramfile -fv $tmpvocafile
my status variable equals -1
so it caused the error:
if ($status != 0) {
# error
print "no .dfa or .dict file generated\n";
exit;
}
I tried many ways but I still don't know how to solve the problem.
Best regard
Hi everyone,
I haven't solved the problem with mkdfa.pl yet. But now i use the command line:
mkfa -e1 -fg sample.grammar -fv sample.voca -fo sample.dfa -fh sample.h
and get the error:
root@ubuntu:/home/tuan/voxforge/HTK_scripts/manual# mkfa -e1 -fg sample.grammar -fv sample.voca -fo sample.dfa -fh sample.h
Now parsing grammar file
Now modifying grammar to minimize states[-1]
Now parsing vocabulary file
Now making nondeterministic finite automaton[1/1]
Error: undefined class "NS_B"
My files:
http://www.mediafire.com/?pnoez1mf92mpmi8
http://www.mediafire.com/?idtusd5f87o5938
I defined NS_B. I don't know how to solve it
Any help?
PS: I used dos2unix