hbuild

来自「HTK应用程序」· 代码 · 共 38 行

TXT
38
字号
#!/bin/csh# This shell script calls herest repeatedly to build a sequence# of model sets, each set in the sequence being 1 single embedded# reestimation of the previous##     usage: hbuild fromN toN## Example - hbuild 2 4  is equivalent to the sequence#               herest HTE hmm1 hmm2#               herest HTE hmm2 hmm3#               herest HTE hmm3 hmm4# Note that this script must be executed in the directory holding# hmm1, hmm2 etc.## Copyright (c) Steve Young & Phil Woodland, 1992, 1993# Last Updated 14/5/93#if ( $#argv != 2 ) then   echo "usage: hbuild fromN toN"   exit 1endifecho "Build started at `date`" > blogset i=$1while ( $i <= $2 )    @ j = $i - 1   if ( -d hmm$i ) then      echo "hbuild: trying to overwrite hmm$i" >> blog      exit   endif   echo "Building hmm$i from hmm$j"  >> blog   herest HTE hmm$j hmm$i   @ i++endecho "Build finished at `date`"    >> blog

⌨️ 快捷键说明

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