HVITE

来源:互联网 发布:数据冗余错误解决方法 编辑:程序博客网 时间:2024/06/10 21:32

1. Hvite 用法:

USAGE: HVite [options] VocabFile HMMList DataFiles...


 Option                                       Default


 -a      align from label files               off
 -b s    def s as utterance boundary word     none
 -c f    tied mixture pruning threshold       10.0
 -d s    dir to find hmm definitions          current
 -e      save direct audio rec output         off
 -f      output full state alignment          off
 -g      enable audio replay                  off
 -h s    set speaker name pattern             *.mfc
 -i s    Output transcriptions to MLF s       off
 -j i    Online MLLR adaptation               off
         Perform update every i utterances      
 -k      use an input transform               off
 -l s    dir to store label/lattice files     current
 -m      output model alignment               off
 -n i [N] N-best recognition (using i tokens) off
 -o s    output label formating NCSTWMX       none
 -p f    inter model trans penalty (log)      0.0
 -q s    output lattice formating ABtvaldmn   tvaldmn
 -r f    pronunciation prob scale factor      1.0
 -s f    grammar scale factor                 1.0
 -t f [f f] set pruning threshold             0.0
 -u i    set pruning max active               0
 -v f    set word end pruning threshold       0.0
 -w [s]  recognise from network               off
 -x s    extension for hmm files              none
 -y s    output label file extension          rec
 -z s    generate lattices with extension s   off
 -A      Print command line arguments         off
 -B      Save HMMs/transforms as binary       off
 -C cf   Set config file to cf                default
 -D      Display configuration variables      off
 -E s [s] set dir for parent xform to s       off
         and optional extension                 
 -F fmt  Set source data format to fmt        as config
 -G fmt  Set source label format to fmt       as config
 -H mmf  Load HMM macro file mmf
 -I mlf  Load master label file mlf
 -J s [s] set dir for input xform to s        none
         and optional extension                 
 -K s [s] set dir for output xform to s       none
         and optional extension                 
 -L dir  Set input label (or net) dir         current
 -P      Set target label format to fmt       as config
 -S f    Set script file to f                 none
 -T N    Set trace flags to N                 0
 -V      Print version information            off
 -X ext  Set input label (or net) file ext    lab


2. HVITE用法

hvite解码:./HVite -A -D -i output.mlf -H ./MMF -y rec -T 1 -C ./cfg -t 200.0 -s 14.0 -p -10.0 -r 1.0 -w ../gram.net -S ../test.scp  ./train.silsp.dict ./tri.xwrd.cluster.list

hvite做alignmet:./HVite -A -D -T 1 -a -i  align.mlf  y lab -l '*'  -C ./cfg -H ./MMF --t 200.0  -I ./train.wrd.mlf -b sil -S ./train.scp ./train.silsp.dict ./tri.xwrd.cluster.list

(1)gram.net:  HParde -C hparse.cfg  grammar gram.net

    # hparse.cfg

       NONUMESCAPES=TRUE

(2)train.silsp.dict: 两行的待sil和sp的字典

        <s> sil

        </s> sil

        0     l   i   ng    sp

        0     l   i   ng    sil

        1     y  ao   sp

        1     y  ao   sil

        1     y   i    sp

        1     y   i     sil

(3)tri.xwrd.cluster.list:绑定后的映射,第一列为逻辑模型,第二列为物理摸新

         ai-iu+ng
         h-er+er
         ao-ui+ai
         ao-ui+ao      ao-ui+ai
         sil-i+ia
         sil-i+ie          sil-i+ia

(4)*.scp:特征列表,一个音频对应一条

(5) cfg

      HREC: FORCEOUT       = T
      HNET: FACTORLM       = TRUE
      HNET: TRACE             = 1           
      HPARM: TARGETKIND      = PLP_0_D_A_Z
      HSHELL: NONUMESCAPES = T
      HNET : FORCECXTEXP = T
      HNET : ALLOWXWRDEXP = T

     说明:If FORCECXTEXP is set true, then context expansion will be performed. For example, if the HMM set contained all monophones, all biphones and all triphones, then given a monophone dictionary, the default behaviour of HNet would be to generate a monophone recognition network since the dictionary would be closed. However, if FORCECXTEXP is set true and ALLOWXWRDEXP is set false then word internal context expansion will be performed. If FORCECXTEXP is set true and ALLOWXWRDEXP is set true then full cross-word context expansion will be performed

         eg :cross wrd context triphone解码:     HNET:  FORCECXTEXP = T

                                                                             HNET:  ALLOWXWRDEXP = T

                   word internal context triphone解码:HNET:  FORCECXTEXP = T

                                                                              HNET:  ALLOWXWRDEXP = F

                   monophone解码配置,这两个值默认False





0 0