Comments

Flat
Execute mkdfa.jl using julia
User: jarvis
Date: 10/27/2015 2:00 am
Views: 3585
Rating: 0

hi,

I am bignner for this technology.

I want to know

how to compile my files (sample.grammar and sample.voca) ?

how to use this path

julia ../bin/mkdfa.jl sample

can anyone give me brief explanation.

Thank you in advance.

Re: Execute mkdfa.jl using julia
User: kmaclean
Date: 10/27/2015 8:17 am
Views: 27
Rating: 1

>how to compile my files (sample.grammar and sample.voca) ?

are you in Linux (which distro) or Windows?

Re: Execute mkdfa.jl using julia
User: jarvis
Date: 10/28/2015 12:31 am
Views: 50
Rating: 0

Hi kmaclean thank For replied.

I am using windows 7(32 bit).

i already download  installed & test  julius 4.3.1 julia 0.4.0 & htk 3.3.

all setup working.

I am following voxforge steps.

now in first step. i want to know how can i compile my files (sample.grammar and sample.voca) ?

where and how it compile & execute.

I am confuse about

"julia ../bin/mkdfa.jl sample"

what it mean?

can you please write full path for compilation so i can understand where(cmd or julia) i have to compile or execute my files.

 

Thank you .

Re: Execute mkdfa.jl using julia
User: kmaclean
Date: 10/28/2015 9:51 am
Views: 20
Rating: 0

>I am confuse about

>"julia ../bin/mkdfa.jl sample"

>what it mean?

'julia' is the name of the julia programming language;

"../bin/mkdfa.jl" tells Julia to go up one directory, then down into the bin directory to execute the "mkdfa.jl" script.  I assume you downloaded the script to the 'voxforge/bin' folder.

"sample" is the name of the prefix for your grammar files (i.e. your grammar files are "sample.grammar" and "sample.dfa").

You need to execute this command from the "Windows Command Prompt"

The Windows Command Prompt (also called the Windows terminal) is where you will execute all your HTK/Julius commands and scripts, and VoxForge scripts. 

Open your Command Prompt window by clicking:

Start>All Programs>Accessories>Command Prompt

then change directory to where you created you sample.grammar i.e. your 'voxforge/tutorial' folder, and run the julia script as shown above.

PreviousNext