⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mkclscript

📁 HTK应用程序
💻
字号:
#!/bin/csh#  generate an HHEd script file for state-clustering triphones#   #  mkclscript command threshold monophone_list##  where monophone_list is a HMM list for the phones (not triphones) #        to be clustered## Script generates a specified command and threhold for a cluster# corresponding to each states of each phone. # The script assumes each model has 3 emitting states.## Copyright (c) Phil Woodland, 1993# Last Updated 5/9/95#if ( $#argv != 3 ) then   echo "usage: mkclscript command threshold monophone_list"   exit 1endifset HMMLIST=$3if (! -f $HMMLIST) then   echo "mkclscript: monophone HMM list $HMMLIST not found"   exit 1endifset monophones=`cat $HMMLIST`foreach i ($monophones)  echo $1 $2 '"ST_'"$i"_2_'"' '{("'"$i"'","*-'"$i"'+*","'"$i"'+*","*-'"$i"'").state[2]}'endforeach i ($monophones)  echo $1 $2 '"ST_'"$i"_3_'"' '{("'"$i"'","*-'"$i"'+*","'"$i"'+*","*-'"$i"'").state[3]}'endforeach i ($monophones)  echo $1 $2 '"ST_'"$i"_4_'"' '{("'"$i"'","*-'"$i"'+*","'"$i"'+*","*-'"$i"'").state[4]}'end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -