julius-speech / julius

Open-Source Large Vocabulary Continuous Speech Recognition Engine
BSD 3-Clause "New" or "Revised" License
1.84k stars 300 forks source link

problem with mkdfa.pl #145

Closed Marcin-st closed 4 years ago

Marcin-st commented 4 years ago

Error on mkdfa.pl with 4.6. No problem with 4.5

$ mkdfa.pl home home.grammar has 32 rules home.voca has 25 categories and 138 words

executing [/usr/local/bin/mkfa -e1 -fg ./tmp17054-rev.grammar -fv ./tmp17054.voca -fo home.dfatmp -fh ./tmp17054.h] Now parsing grammar file Now modifying grammar to reduce states[20] Now parsing vocabulary file Now making nondeterministic finite automaton[105/105] Now making deterministic finite automaton[67/67] Now making triplet list[67/67] sh: 1: cygpath: not found sh: 1: cygpath: not found usage: dfa_minimize [dfafile] [-o outfile] executing [/usr/local/bin/mkfa -e1 -fg ./tmp17054.grammar -fv ./tmp17054.voca -fo home.dfatmp -fh ./tmp17054.h] Now parsing grammar file Now modifying grammar to reduce states[19] Now parsing vocabulary file Now making nondeterministic finite automaton[122/122] Now making deterministic finite automaton[60/60] Now making triplet list[60/60] sh: 1: cygpath: not found sh: 1: cygpath: not found usage: dfa_minimize [dfafile] [-o outfile]

generated: home.dfa home.term home.dict home.dfa.forward

Marcin-st commented 4 years ago

Just discovered that mkdfa.py working properly

Marcin-st commented 4 years ago

Looks like solved now