Click here to register.

Comments

Flat
mkdfa.pl error
User: MikeP
Date: 9/17/2011 8:42 am
Views: 1418
Rating: 7    Rate [
]

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?

Re: mkdfa.pl error
User: MikeP
Date: 9/19/2011 9:11 am
Views: 39
Rating: 9    Rate [
]

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?

Re: mkdfa.pl error
User: kmaclean
Date: 9/26/2011 7:21 pm
Views: 44
Rating: 5    Rate [
]

>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? 

PreviousNextAdd