Comments

Flat
sample
User: Biruke
Date: 11/10/2009 7:02 am
Views: 4801
Rating: 16

  i followed the steps but it says

            can not open "sample.grammar' at /julius/bin/mkdfa.pl line 66

 

 

Re: sample
User: kmaclean
Date: 11/12/2009 1:23 pm
Views: 118
Rating: 13

>can not open "sample.grammar' at /julius/bin/mkdfa.pl line 66

Either a case where it can't find your sample grammar file (are you executing the mkdfa command in the same directory are your sampe files) or you have end-of-line character problems (see this post: Compiling your Gramma).

Ken

Re: sample
User: adees
Date: 6/11/2012 4:17 am
Views: 222
Rating: 13

Hi, Ken 

 

I am sorry want to ask, as far as I understand, the mkdfa.pl is in the julius bin folder. but the tutorial guide me to save the sample.grammar in the voxforge/manual folder. So do I need to move the sample.grammar in the julius bin folder.

Thank you so much.

Re: sample
User: kmaclean
Date: 6/11/2012 10:38 am
Views: 280
Rating: 16

> So do I need to move the sample.grammar in the julius bin folder.

You should not have to move it to the Julius bin folder - you just need to update your user path to point to the Julius bin folder

Re: sample(Problem)
User: ripul
Date: 7/2/2012 10:40 am
Views: 236
Rating: 14

I have tried dos2unix on both sample.voca and sample.grammar files. both are converted. i ran mkdfa.pl sample when i am in voxforge\manual directory and when i was in julius_bin directory.

 

I get the same error

cannot open "sample.grammar" at /Julius/bin/mkdfa.pl line 66.

if i install julius 4.2.1 the latest one and then use the same command i get the error
cannot open "sample.grammar" at /Julius/bin/mkdfa.pl line 69.
Need help..???

Re: sample(Problem)
User: Tom Anderson
Date: 12/11/2012 9:52 pm
Views: 215
Rating: 16

Apparently mkdfa.pl isn't finding a usable tmp directory.

I solved this problem by editing line 11 in C:\cygwin\Julius\bin\mkdfa.pl to read:

$usrtmpdir = "./"; #specify if any

Re: sample(Problem)
User: waleedabc
Date: 3/16/2015 4:11 pm
Views: 37
Rating: 3

thanks tom to much 

PreviousNext