| | |
| | | _data="${data_feats}/${dset}" |
| | | _dir="${asr_exp}/${inference_tag}/${dset}" |
| | | |
| | | python utils/proce_text.py ${_data}/text ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text ${_dir}/text.proc |
| | | sed 's/\$//g' ${_data}/text > ${_data}/text_nosrc |
| | | sed 's/\$//g' ${_dir}/text > ${_dir}/text_nosrc |
| | | |
| | | python utils/proce_text.py ${_data}/text_nosrc ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text_nosrc ${_dir}/text.proc |
| | | |
| | | python utils/compute_wer.py ${_data}/text.proc ${_dir}/text.proc ${_dir}/text.cer |
| | | tail -n 3 ${_dir}/text.cer > ${_dir}/text.cer.txt |
| | |
| | | _data="${data_feats}/${dset}" |
| | | _dir="${sa_asr_exp}/${sa_asr_inference_tag}.oracle/${dset}" |
| | | |
| | | python utils/proce_text.py ${_data}/text ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text ${_dir}/text.proc |
| | | sed 's/\$//g' ${_data}/text > ${_data}/text_nosrc |
| | | sed 's/\$//g' ${_dir}/text > ${_dir}/text_nosrc |
| | | |
| | | python utils/proce_text.py ${_data}/text_nosrc ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text_nosrc ${_dir}/text.proc |
| | | |
| | | python utils/compute_wer.py ${_data}/text.proc ${_dir}/text.proc ${_dir}/text.cer |
| | | tail -n 3 ${_dir}/text.cer > ${_dir}/text.cer.txt |
| | |
| | | _data="${data_feats}/${dset}" |
| | | _dir="${sa_asr_exp}/${sa_asr_inference_tag}.cluster/${dset}" |
| | | |
| | | python utils/proce_text.py ${_data}/text ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text ${_dir}/text.proc |
| | | sed 's/\$//g' ${_data}/text > ${_data}/text_nosrc |
| | | sed 's/\$//g' ${_dir}/text > ${_dir}/text_nosrc |
| | | |
| | | python utils/proce_text.py ${_data}/text_nosrc ${_data}/text.proc |
| | | python utils/proce_text.py ${_dir}/text_nosrc ${_dir}/text.proc |
| | | |
| | | python utils/compute_wer.py ${_data}/text.proc ${_dir}/text.proc ${_dir}/text.cer |
| | | tail -n 3 ${_dir}/text.cer > ${_dir}/text.cer.txt |