Components provided for training by kg1VS9

VIEWS: 20 PAGES: 2

									Components provided for training               Components provided for decoding

   1. The trainer source code                         1.   The decoder source code
   2. The acoustic signals                            2.   The language dictionary
   3. The corresponding transcript                    3.   The filler dictionary
      file                                            4.   The language model
   4. A language dictionary                           5.   The test data
   5. A filler dictionary

Setting up the data

mkdir tutorial          cd tutorial

gunzip -c an4_sphere.tar.gz | tar xf -        gunzip -c rm1_cepstra.tar.gz | tar xf –

Setting up the trainer

gunzip -c SphinxTrain.nightly.tar.gz | tar xf -

cd SphinxTrain                 configure               make          make install

cd SphinxTrain          perl scripts_pl/setup_tutorial.pl an4

                        perl scripts_pl/setup_tutorial.pl rm1

Setting up the decoder

gunzip -c sphinx3.nightly.tar.gz | tar xf -

cd sphinx3       configure --prefix=`pwd`/build        make          make install

cd sphinx3       perl scripts/setup_tutorial.pl an4

                 perl scripts/setup_tutorial.pl rm1

Training

cd an4           perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids

                 perl scripts_pl/RunAll.pl

Decoding

cd an4           perl scripts_pl/make_feats.pl -ctl etc/an4_test.fileids

                 perl scripts_pl/decode/slave.pl
an4/etc/sphinx_train.cfg

$CFG_HMM_TYPE = '.cont.'; # Sphinx III

$CFG_HMM_TYPE = '.semi.'; # Sphinx II



$CFG_NPART # The number of CPUs in your system

$CFG_QUEUE_TYPE = "Queue::POSIX"; # for multiple CPUs on a local
machine

$CFG_QUEUE_TYPE = "Queue::PBS"; # to use a PBS/TORQUE queue



perl scripts_pl/RunAll.pl

perl scripts_pl/00.verify/verify_all.pl

perl scripts_pl/10.vector_quantize/slave.VQ.pl

perl scripts_pl/20.ci_hmm/slave_convg.pl

perl scripts_pl/30.cd_hmm_untied/slave_convg.pl

perl scripts_pl/40.buildtrees/slave.treebuilder.pl

perl scripts_pl/50.cd_hmm_tied/slave_convg.pl

perl scripts_pl/90.deleted_interpolation/deleted_interpolation.pl

perl scripts_pl/99.make_s2_models/make_s2_models.pl



an4/etc/sphinx_decode.cfg

$DEC_CFG_ALIGN = "builtin"; # computes Sentence Error Rate (SER)

$DEC_CFG_ALIGN = "/home/elsh10/tutorial/sctk-2.2.2/bin/sclite";

                              # computes both SER and WER

								
To top