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

📄 hedit

📁 HTK应用程序
💻
字号:
#!/bin/csh# This shell script invokes HHEd to perform a global edit of a set# of models.  It must be executed from within the directory holding# the hmm directories.## Usage:   hedit m n## where m is the index of the source directory and n is the index# of the target directory.  hedit assumes the existence of an edit file# in the current directory##    edfilem.n - containing the required edit commands## Example##    cd R3; hedit 14 21## Edit the models  stored in hmm14 and store the new models in # an MMF in hmm21 using the edit commands stored in edfile14.21## Copyright (c) Steve Young 1992, 1993# Last Updated 19/10/93#source  HTEif ( $#argv != 2 ) then   echo "hedit m n"   exit 0endifif ( -d hmm$1 ) then   set src = (-H hmm$1/MODELS)else   echo "No source dir hmm$1"   exit 1endifset tgt = (-M hmm$2)if ( ! -d hmm$2 ) mkdir hmm$2if ( ! -f $HMMLIST ) then   echo "List of models to edit $HMMLIST does not exist"   exit 1endifif ( ! -f edfile${1}.${2} ) then   echo "Edit command file edfile${1}.${2} does not exist"   exit 1endifif ($?HHTRACE) then   set OPT = (-T $HHTRACE)else   set OPT = (-T 1)endifHHEd -A -C $HECONFIG $OPT $src $tgt  edfile${1}.${2} $HMMLIST

⌨️ 快捷键说明

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