When I run mkdfa.pl on the supplied sample files, I get the following. I'm on Windows XP and logged in as an administrator. The "test path" worked as instructed (except "julian" isn't there; it is "julius" in version 4). I tried dos2unix and unix2dos with no change in the behavior. I installed Julius 4.1.5 instead of 3.5.2.
# mkdfa.pl sample
sample.grammar has 3 rules
sample.voca has 6 categories and 18 words
Error: Can't open grammar file "/tmp/g1916.grammar"
Error: cannot open "sample.dfa.tmp"
no .dfa or .dict file generated
The cygwin/tmp folder exists, but is empty. It creates a "sample.term" file, but nothing else.
Any suggestions on what I should try next?
Using Julius 3.5.2 instead of the 4.1.5 took care of this problem. Will someone be updating the tutorial to work with the latest Julius?
>Using Julius 3.5.2 instead of the 4.1.5 took care of this problem.
the mkdfa code should be then same in both Julius 3.5.2 and 4.1.5 - did you try Julius 4.2?