VoxForge
I got a problem when running mkdfa.pl sample. Im running on ~/voxforge/manual, the sample.grammar and sample.voca are ok (already with linux terminations). Here what i got:
jonathan@Jonathan ~/voxforge/manual
$ mkdfa.pl sample
sample.grammar has 3 rules
sample.voca has 6 categories and 18 words
---
Error: Can't open grammar file "/tmp/g9248.grammar"
Error: cannot open "sample.dfa.tmp"
---
no .dfa or .dict file generated
>Error: Can't open grammar file "/tmp/g8732.grammar"
This is a bug in mkdfa.pl script that occurs when you run the Windows build of Julius in Cygwin.
You not longer have to run Julius or its grammar scripts in Cygwin. You can run Julius directly from the Windows terminal (i.e. Command Prompt).
With your favourite editor edit the mkdfa.pl script (in c:\cygwin\home\homedirectory\voxforge\bin\julius-4.*.*-win32bin\julius-4.*.*-win32bin\bin) by searching for each occurrence of 'cygdrive;' and replacing it with 'cygdrive|cygwin':
line 144 and 151:
if ($tmpprefix =~ /cygdrive/) {
becomes:
if ($tmpprefix =~ /cygdrive|cygwin/) {