Click here to register.

Comments

Flat
dfa_minimize not found
User: puphe88
Date: 1/16/2010 10:33 pm
Views: 4774
Rating: 14

ken,

i want to create grammar in windows, i didn't install Julian, i just download and copy to my drive C in windows

and my problem when i compile my grammar is not find folder dfa_minimize, i know dfa_minimize not in one folder with mkdfa folder.

my scipt in cmd is

 

C:\julius-4.1.4\julius-4.1.4\gramtools\mkdfa>perl mkdfa.pl.in sample

sample.grammar has 2 rules

sample.voca    has 5 categories and 32 words

---

Warning: dfa_minimize not found in the same place as mkdfa.pl

Warning: no minimization performed

'mkfa' is not recognized as an internal or external command,

operable program or batch file.

---

no .dfa or .dict file generated

 

 

can you help me?

Re: dfa_minimize not found
User: kmaclean
Date: 1/19/2010 12:57 pm
Views: 121
Rating: 14

> i know dfa_minimize not in one folder with mkdfa folder.

dfa_minimize is an executable file that is called by "mkdfa.pl" (look at the code).  They both need to be in the same directory.

Ken

Re: dfa_minimize not found
User: Visitor
Date: 6/7/2010 6:43 pm
Views: 137
Rating: 13

i got these errors ???how i can solve them ,is there any mistake?

 

 

C:\htk\bin.win32\redo>perl mkdfa.pl sample
Bareword found where operator expected at mkdfa.pl line 3, near ")
                                          MKDFA"
        (Missing operator before MKDFA?)
Semicolon seems to be missing at mkdfa.pl line 6.
Bareword found where operator expected at mkdfa.pl line 15, near ") to"
        (Missing operator before to?)
Bareword found where operator expected at mkdfa.pl line 16, near "".term" will"
        (Missing operator before will?)
String found where operator expected at mkdfa.pl line 21, near "of ".grammar""
        (Do you need to predeclare of?)
Bareword found where operator expected at mkdfa.pl line 22, near "file"
        (Missing semicolon on previous line?)
Bareword found where operator expected at mkdfa.pl line 37, near "Convert"
        (Missing semicolon on previous line?)
Semicolon seems to be missing at mkdfa.pl line 46.
Bareword found where operator expected at mkdfa.pl line 48, near "mkdfa"
        (Missing semicolon on previous line?)
Bareword found where operator expected at mkdfa.pl line 49, near "placed"
        (Missing semicolon on previous line?)
Bareword found where operator expected at mkdfa.pl line 52, near "Copyright"
        (Missing semicolon on previous line?)
Number found where operator expected at mkdfa.pl line 52, near ") 1997"
        (Missing operator before 1997?)
Bareword found where operator expected at mkdfa.pl line 52, near "2000 Informati
on"
        (Missing operator before Information?)
Bareword found where operator expected at mkdfa.pl line 54, near "Copyright"
        (Missing semicolon on previous line?)
Number found where operator expected at mkdfa.pl line 54, near ") 1991"
        (Missing operator before 1991?)
Bareword found where operator expected at mkdfa.pl line 54, near "2008 Kawahara"

        (Missing operator before Kawahara?)
Number found where operator expected at mkdfa.pl line 56, near ") 2000"
        (Missing operator before 2000?)
Bareword found where operator expected at mkdfa.pl line 56, near "2005 Shikano"
        (Missing operator before Shikano?)
Bareword found where operator expected at mkdfa.pl line 59, near "Copyright"
        (Missing semicolon on previous line?)
Number found where operator expected at mkdfa.pl line 59, near ") 2005"
        (Missing operator before 2005?)
Bareword found where operator expected at mkdfa.pl line 59, near "2008 Julius"
        (Missing operator before Julius?)
Bareword found where operator expected at mkdfa.pl line 60, near "Technology"
        (Missing semicolon on previous line?)
Semicolon seems to be missing at mkdfa.pl line 61.
Bareword found where operator expected at mkdfa.pl line 63, near "The"
        (Missing semicolon on previous line?)
Bareword found where operator expected at mkdfa.pl line 67, near "2008
             MKDFA"
        (Missing operator before MKDFA?)
syntax error at mkdfa.pl line 3, near ")
                MKDFA"
Execution of mkdfa.pl aborted due to compilation errors.

Re: dfa_minimize not found
User: kmaclean
Date: 6/9/2010 2:28 pm
Views: 123
Rating: 15

>Bareword found where operator expected at mkdfa.pl line 3,

>near ")  MKDFA"

is mkdfa (or mkfa - which I think is the newer version of the same script...) in the same directory as where you are executing mkdfa.pl?  did you update your User Path for Julius?

PreviousNext