7.7 Command Synopsis:
Frequently Used Command Sequences
This page contains an enumeration of the important commands introduced
in this tutorial. Commands are organized by the section of the tutorial
in which they first appear, and linked to the section which describes
their usage in detail.
|
Section 1: Installation and Configuration Management
CVS login:
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot login
CVS Checkout:
mkdir isip
cd isip
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot checkout .
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot export -r isip_r00_n09 .
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot checkout class/math/scalar
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot update .
CVS Logout:
cvs -d :pserver:cvs@ftp.cavs.msstate.edu:/isip/tools/cvsroot logout
Local Checkout:
cvs checkout -P -d .
Committing Changes:
cvs update -P -d .
cvs edit .
cvs commit .
Local Checkout:
cvs checkout -P -d .
Location of Tar Files:
http://www.cavs.msstate.edu/research/isip/projects/speech/software/downloads/production/isip.tar.gz
ftp://ftp.cavs.msstate.edu/pub/research/isip/projects/speech/software/downloads/production/isip.tar.gz
Manipulating Tar Files:
tar tzf isip.tar.gz
tar zxvf isip.tar.gz
Configuration:
cd isip
./configure
./configure --with-sphere-prefix=/usr/local/sphere --with-sctk-prefix=/usr/local/sctk --with-audiofile-prefix=/usr/local/research/isip/audiofile
Compilation:
gmake depend
gmake install
gmake test
gmake -jN
Section 2: Data Preparation
SPHERE Conversion:
w_decode -o pcm speech.sph speech-nb.sph
h_strip speech-nb.sph speech.raw
w_decode -o pcm speech.sph - | h_strip - - > speech.raw
Verification:
sox -t .sw -r 16000 speech.raw -t .au speech.au
audioplay speech.au
ls -l speech.*
od -t d2 speech.raw
Sof Creation:
isip_make_sof speech.raw
isip_make_sof -type text speech.raw
Downsampling:
sox -t .sw -r 16000 speech.raw -x -t .sw -r 8000 speech_out.raw
isip_resample(speech_in.list, speech_out.list, 16000, 8000)
Auxiliary Resources:
od -t d2 tidigits_8k_raw/test/man/fa/fa_3b.raw | head -3
sox -t .sw tidigits_8k_raw/test/man/fa/fa_3b.raw -x -t .sw tidigits_8k_raw/test/man/fa/fa_3b_swap.raw
Database Creation:
isip_make_db -db audio -audio audio_list.text -name TIDigits -type text audio_db.sof
isip_make_db -db transcription -trans trans_list.text -level word -name TIDigits -type text trans_db.sof
isip_make_db -db both -audio audio_list.text -trans trans_list.text -level word -name TIDigits -type text audio_db.sof trans_db.sof
Section 3: Feature Extraction
Verification:
isip_transform -param recipe_energy.sof -suffix _out speech.sof
diff speech_out.sof speech_energy.sof
Rapid Prototyping:
isip_transform_builder &
Isip_Transform:
isip_transform -param recipe_energy.sof [other_options] [files]
isip_transform -param recipe_energy.sof [other_options] -list files_sdb.sof
isip_transform -param recipe_energy.sof [other_options] -list sdb_1.sof sp_1.sof -list sdb_2.sof sp2.sof sp_3.sof
isip_transform -param recipe_energy.sof speech.sof
MFCC Example:
isip_transform_builder recipe_basic_mfcc.sof
isip_transform -param recipe_basic_mfcc.sof speech.sof
Enhancements:
isip_transform -param recipe_mfcc_p1.sof speech_tmp.sof
isip_transform -param recipe_mfcc_p2.sof speech_tmp.sof
Section 4: Recognition
isip_recognize:
isip_recognize -verbose ALL [options] -parameter_file [file] -list [file]
Network Decoding Experiments:
isip_recognize -param params_decode.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -verbose all
isip_recognize -parameter_file params_decode.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -verbose ALL
isip_recognize -parameter_file params_decode.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -verbose ALL
isip_recognize -parameter_file params_decode.sof -list $ISIP_TUTORIAL/sections/s04/s04_02_p05 -verbose ALL
Scoring:
isip_extract_hypo -level word -format NIST_TRN -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -exclude exclude_symbols -output ./results.score -debug brief $ISIP_TUTORIAL/sections/s04/s04_02_p05/results.out
isip_extract_hypo -level word -format NIST_TRN -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -output ./reference.score -exclude exclude_symbols.sof -debug brief $ISIP_TUTORIAL/databases/db/tidigits_trans_word_test_db.sof
isip_eval score results.score reference.score results
isip_eval_sgml.sh score $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof reference.score results_01.score
isip_eval_sgml.sh score $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof reference.score results_02.score
cat results_01.score.sgml results_02.score.sgml | sc_stats -p -t mapsswe -v -u -n result_sys_01_sys_02
Forced Alignment:
isip_recognize -param params_align.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -verbose all
Section 5: Acoustic Modeling
Word Models:
isip_recognize -param params_init.sof -verbose brief -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof
isip_recognize -param params_sil.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
isip_recognize -param params_sp.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
isip_recognize -param params_2mix_split.sof -verbose brief
isip_recognize -param params_2mix_trai.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
isip_recognize -param params_4mix_split.sof -verbose brief
isip_recognize -param params_4mix_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
isip_recognize -param params_8mix_split.sof -verbose brief
isip_recognize -param params_8mix_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
CI Phone Models:
isip_recognize -param params_init.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose brief
isip_recognize -param params_sil.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_sp.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
Word Internal CD Models:
isip_recognize -param params_context.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_generate.sof -verbose all
isip_recognize -param params_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_state_tying.sof -verbose all
isip_recognize -param params_test.sof -verbose all
isip_recognize -param params_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
Word Internal CD Models:
isip_recognize -param params_context.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_generate.sof -verbose all
isip_recognize -param params_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param param_state_tying.sof -verbose all
isip_recognize -param params_xword_test.sof -verbose all
isip_recognize -param params_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_2mix_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_4mix_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix_split.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
isip_recognize -param params_8mix_train.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_train.sof -verbose all
Parallel Training:
Section 6: Language Modeling
Acoustic Model Generation:
isip_recognize -param params_mc.sof -verbose ALL
Language Model Tester:
isip_lm_tester -seed 30 -max_length 10 -sentence_count 100 -language_model lm_phone_jsgf.sof -level word -name TIDIGITS sentences.sof
NGram Modeling:
ngram-count -text tidigits_trans_word_text.text -order 3 -lm tidigits_word_ngram.lm
isip_recognize -param params_ngram_phone.sof -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -verbose all
isip_recognize -param ./params_ngram_xword.sof -list ../../lists/identifiers_test.sof -verbose all
isip_extract_hypo -level word -format NIST_TRN -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -output ngram_phone.score -transdb ./ngram_phone.sof -exclude_symbols exclude_symbols.sof
isip_eval score ngram_sp.score reference.score ngram_sp
isip_extract_hypo -level word -format NIST_TRN -list $ISIP_TUTORIAL/research/isip/databases/lists/identifiers_test.sof -output ngram_xword.score -transdb ./ngram_xword.sof -exclude_symbols exclude_symbols.sof
isip_eval score ngram_xword.score reference.score ngram_xword
Section 7: Comprehensive Examples
|
|