General Discussion

Nested
julius 4.2.1. troubles with the Sample.jconf-file
User: nomad
Date: 2/7/2012 6:02 am
Views: 7118
Rating: 10

hi,
i have many troubles to run julius 4.2.1 on 64bit Ubuntu 10.10
- install ok
- running julius under julius 4.2.1
to run:
./julius -input mic -C Sample_1.jconf
STAT: include config: Sample_1.jconf
ERROR: m_chkparam: you should specify at least one LM to run Julius!

on my *.jconf-file i have changed the line -LM lm_1

have somebody a simple jconf-file for me
only for a test: speak on the mic: "PHONE STEVE"

thanks for help, hints and tricks
regards nomad

my Sample_1.jconf (only lines without #  )
-----------------------------------------------
######################################################################
#### GLOBAL OPTIONS
######################################################################
#### Misc. Options
#### Audio Input
# my change
-input mic                # live microphone

####
#### Speech segment detection by level and zero-cross
#### default: on for microphone, off for other sources
-cutsilence            # detection on

#### Gaussian Mixture Model

#### Decoding option
-realtime            # force real-time processing
#-norealtime            # force non real-time processing

:
####
####  -AM am_1 -AM am_2
####  -LM lm_1 (LM spec..)
####  -LM lm_2 (same LM spec..)
####  -SR search1 am_1 lm_1
####  -SR search2 am_2 lm_2
####

## Create a new AM configuration set, and switch current to it.
## You should give a unique name.
#my change -AM name
-AM am_1           

## Create a new LM configuration set, and switch current to it.
## You should give a unique name.
#my change -LM name
-LM lm_1           

## Create a new Search configuration set with AM and LM, and switch
## current to it.  AM and LM name can be either name or ID number.
# my change
#-SR name am_name_or_id lm_name_or_id
#-SR sr_1 am_1 lm_1

## Switch current AM to special one reserved for GMM, to specify
## analysis parameter for GMM.  Be sure not to confuse with normal AM
## configuration.
# -AM_GMM

## When using instance declarations, global options should be placed
## at top before any instance declaration, or after this option below.
## This option is only a switcher and can be used anywhere anytime.
-GLOBAL

## This option disables the strict section checkings and back to 4.0
-nosectioncheck

######################################################################
#### LANGUAGE MODEL (-LM)
######################################################################
#### ACOUSTIC MODEL (-AM)  (-AM_GMM)
######################################################################
#### Acoustic analysis parameters are included in this section, since
#### the AM defines the required parameter.  You can use different MFCC
#### type for each AM.
#### For GMM, the same parameter should be specified after "-AM_GMM"
####
#### When using multiple AM,  the values of "-smpPeriod", "-smpFreq",
#### "-fsize" and "-fshift" should be the same among all AM.
####

## Acoustic model
#-gprune {safe|heuristic|beam|none|default} # Gaussian pruning method
-gprune safe
#-iwcd1 {max|avg|best 3}    # Inter-word triphone approximation method
-iwcd1 max
#-iwsppenalty -1.0        # pause insertion penalty for "-iwsp"
#-gshmm hmmfile         # HMM for Gaussian mixture selection
#-gsnum 24            # Threshold number of HMM for gshmm

## Analysis
#-smpPeriod 625            # sampling period (ns) (= 10000000 / smpFreq)
# my change (ev.48000
-smpFreq 16000            # sampling rate (Hz)
#-fsize 400            # window size (samples)
#-fshift 160            # frame shift (samples)
#-preemph 0.97            # pre-emphasis coef.
#-fbank 24            # number of filterbank channels
#-ceplif 22            # cepstral liftering coef.
#-rawe                # use raw energy
#-norawe            # disable "-rawe" (this is default)
#-enormal            # normalize log energy
#-noenormal            # disable "-enormal" (this is default)
#-escale 1.0            # scaling log energy for enormal
#-silfloor 50.0            # energy silence floor in dB for enormal
#-delwin 2            # delta window (frames)
#-accwin 2            # acceleration window (frames)
#-hifreq -1            # cut-off hi frequency (Hz) (-1: disable)
#-lofreq -1            # cut-off low frequency (Hz) (-1: disable)
#-zmeanframe            # frame-wise DC offset removal (same as HTK)
#-nozmeanframe            # disable "-zmeanframe" (this is default)

####################################################################
#### RECOGNIZER (-SR)
######################################################################
####
#### Default values for beam width and LM weights will change
#### according to compile-time setup of JuliusLib and model specification.
#### Please see the startup log for the actual values.
####

####
#### parameter (common)
####
#-inactive            # start this process with inactive status
#-1pass                # perform only the 1st pass, omit 2nd pass
#-no_ccd            # switch off the phone context dependency
#-force_ccd            # force on the phone context dependency
#-cmalpha 0.05            # CM alpha value
#-iwsp                # append a skippable sp at all word ends
#-transp 0.0            # transition penalty for transparent words

####
#### parameter (1st pass)
####
#-lmp weight penalty        # LM weight and word insertion penalty (pass1)
#my change -penalty1 penalty
-penalty1 5.0
#-penalty1 penalty        # word insertion penalty for grammar (pass1)
#-b width            # beam width (# of nodes)
#-bs score                      # beam width (score)
#-nlimit 3            # with enable-wpair-nlimit, set max N at nodes
#-progout            # progressive output while decoding
#-proginterval 300        # output interval in msec for "-progout"

####
#### parameter (2nd pass)
####
#-lmp2 weight penalty        # LM weight and word insertion penalty (pass2)
#my change
#-penalty2 penalty        # word insertion penalty for grammar (pass2)
-penalty2 20.0
#my change -b2 width
-b2 200            # envelope beam width of 2nd pass (#word)
#my change -sb 80.0 ev. 200.0
-sb 80.0            # envelope score width at 2nd pass
#-s 500                # hypotheses stack size on 2nd pass (#hypo)
#-m 2000            # hypotheses overflow threshold (#hypo)
#-n n                # num of sentences to find
#-output 1            # num of sentences to output as result
#-lookuprange 5            # hypo. lookup range at word expansion (#frame)
#-looktrellis            # expand only trellis words in grammar
#-fallback1pass            # output 1st pass result when 2nd pass fails

################################################################# end of file

--- (Edited on 2/7/2012 6:02 am [GMT-0600] by ) ---

Re: julius 4.2.1. troubles with the Sample.jconf-file
User: kmaclean
Date: 2/7/2012 5:26 pm
Views: 89
Rating: 8

>have somebody a simple jconf-file for me

look at the jconf in here: http://www.repository.voxforge1.org/downloads/software/julius-3.5.2-quickstart-linux.tgz

--- (Edited on 2/7/2012 6:26 pm [GMT-0500] by kmaclean) ---

Re: julius 4.2.1. troubles with the Sample.jconf-file
User: nomad
Date: 2/8/2012 7:05 am
Views: 2713
Rating: 10

hi,

thanks for the help after two days of .((

first run ok

ps. on my ubuntu1010 the quickstart-system not running

(shared lib ....)

but i have copy the grammar & the acoustic-folder to my julius -system

incl the julian.jconf. and a first step to understand the julius-system

thank you verry much for your help

regards nomad

--- (Edited on 2/8/2012 7:05 am [GMT-0600] by nomad) ---

PreviousNext