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

📄 hcompv.tex

📁 该压缩包为最新版htk的源代码,htk是现在比较流行的语音处理软件,请有兴趣的朋友下载使用
💻 TEX
字号:
%/* ----------------------------------------------------------- */%/*                                                             */%/*                          ___                                */%/*                       |_| | |_/   SPEECH                    */%/*                       | | | | \   RECOGNITION               */%/*                       =========   SOFTWARE                  */ %/*                                                             */%/*                                                             */%/* ----------------------------------------------------------- */%/* developed at:                                               */%/*                                                             */%/*      Speech Vision and Robotics group                       */%/*      Cambridge University Engineering Department            */%/*      http://svr-www.eng.cam.ac.uk/                          */%/*                                                             */%/*      Entropic Cambridge Research Laboratory                 */%/*      (now part of Microsoft)                                */%/*                                                             */%/* ----------------------------------------------------------- */%/*         Copyright: Microsoft Corporation                    */%/*          1995-2000 Redmond, Washington USA                  */%/*                    http://www.microsoft.com                 */%/*                                                             */%/*              2001  Cambridge University                     */%/*                    Engineering Department                   */%/*                                                             */%/*   Use of this software is governed by a License Agreement   */%/*    ** See the file License for the Conditions of Use  **    */%/*    **     This banner notice must not be removed      **    */%/*                                                             */%/* ----------------------------------------------------------- */%% HTKBook - Steve Young   11/11/95%\newpage\mysect{HCompV}{HCompV}\mysubsect{Function}{HCompV-Function}\index{hcompv@\htool{HCompV}|(}This program will calculate the global mean and covarianceof a set of training data.  It is primarily used to initialisethe parameters of a HMM such that all component means and all covariancesare set equal to the global data mean and covariance.  This might formthe first stage of a \textit{flat start} training scheme where all models are initially given the same parameters.  Alternatively, the covariances may be used as the basis for FixedVariance and Grand Variance training schemes.  These can sometimes bebeneficial in adverse conditions where a fixed covariance matrix cangive increased robustness.When training large model sets from limited data, setting a flooris often necessary to prevent variances being badly underestimatedthrough lack of data.  One way of doing this is to definea variance macro called \texttt{varFloorN}where \texttt{N} is the stream index. \htool{HCompV} can also beused to create these variance floor macros with values equal toa specified fraction of the global variance.Another application of \htool{HCompV} is the estimation of mean and variancevectors for use in cluster-based mean and variance normalisationschemes. Given a list of utterances and a speaker pattern\htool{HCompV} will estimate a mean and a variance for each speaker.\mysubsect{Use}{HCompV-Use}\htool{HCompV} is invoked via the command line\begin{verbatim}   HCompV [options] [hmm] trainFiles ...\end{verbatim}where \texttt{hmm} is the name of the physical HMM whose parametersare to be initialised. Note that no HMM name needs to be specifiedwhen cepstral mean or variance vectors are estimated (\texttt{-c}option). The effect of this command is to compute the covariance ofthe speech training data and then copy it into every Gaussiancomponent of the given HMM definition.  If there are multiple datastreams, then a separate covariance is estimated for each stream.  TheHMM can have a mix of diagonal and full covariances and an optionexists to update the means also.  The HMM definition can be containedwithin one or more macro files loaded via the standard \texttt{-H}option.  Otherwise, the definition will be read from a file called\texttt{hmm}.  Any tyings in the input definition will be preserved inthe output. By default, the new updated definition overwrites theexisting one.  However, a new definition file including any macrofiles can be created by specifying an appropriate target directoryusing the standard \texttt{-M} option.In addition to the above, an option \texttt{-f} is provided to computevariance floor macros equal to a specified fractionof the global variance.  In this case, the newly created macros arewritten to a file called \texttt{vFloors}.  For each stream \texttt{N} defined for \texttt{hmm},  a variance macro called \texttt{varFloorN} is created.If a target directory is specifiedusing the standard \texttt{-M} option then the new file will be writtenthere, otherwise it is written in the current directory.The list of train files can be stored in a script file if required.Furthermore, the data used for estimating the globalcovariance can be limited to that corresponding to a specified label.The calculation of cluster-based mean and variances estimates isenabled by the option \texttt{-c} which specifies the output directorywhere the estimated vectors should be stored.The detailed operation of \htool{HCompV} is controlled by the followingcommand line options\begin{optlist}  \ttitem{-c s} Calculate cluster-based mean/variance estimate and  store results in the specified directory.  \ttitem{-k s} Speaker pattern for cluster-based mean/variance  estimation. Each utterance filename is matched against the pattern  and the characters that are matched against \verb|%| are used as the  cluster name. One mean/variance vector is estimated for each  cluster.  \ttitem{-p s} Path pattern for cluster-based mean/variance  estimation. Each utterance filename is matched against the pattern  and the characters that are matched against \verb|%| are spliced to  the end of the directory string specified with option `-c' for the final  mean/variance vectors output.     \ttitem{-q s} For cluster-based mean/variance estimation different  types of output can be requested. Any subset of the letters  \texttt{nmv} can be specified. Specifying \texttt{n} causes the  number of frames in a cluster to be written to the output file.  \texttt{m} and \texttt{v} cause the mean and variance vectors to be  included, respectively.  \ttitem{-f f} Create variance floor macros with values equal to      \texttt{f} times the global variance.  One macro is created for     each input stream and the output is stored in a file      called \texttt{vFloors}.   \ttitem{-l s} The string {\tt s} must be the name of a      segment label.  When this option is used, \htool{HCompV} searches      through all of the training files and uses only the speech      frames from segments with the given label.  When this option is not       used, \htool{HCompV} uses      all of the data in each training file.  \ttitem{-m} The covariances of the output HMM are always updated    however updating the means must be specifically requested. When     this option is set, \htool{HCompV} updates all the HMM component     means with the sample mean computed from the training files.   \ttitem{-o s}  The string {\tt s} is used as the name of the output      HMM in place of the source name.  \ttitem{-v f}  This sets the minimum variance (i.e. diagonal elements of      the covariance matrix) to the real value {\tt f} (default value      0.0).\stdoptB\stdoptF\stdoptG\stdoptH\stdoptI\stdoptL\stdoptM\stdoptX\end{optlist}\stdopts{HCompV}\mysubsect{Tracing}{HCompV-Tracing}\htool{HCompV} supports the following trace options where eachtrace flag is given using an octal base\begin{optlist}   \ttitem{00001} basic progress reporting.   \ttitem{00002} show covariance matrices.   \ttitem{00004} trace data loading.   \ttitem{00010} list label segments.\end{optlist}Trace flags are set using the \texttt{-T} option or the  \texttt{TRACE} configuration variable.\index{hcompv@\htool{HCompV}|)}%%% Local Variables: %%% mode: latex%%% TeX-master: "../htkbook"%%% End: 

⌨️ 快捷键说明

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