?? lnorm.tex
字號:
%% Gareth Moore 27/03/02%\newpage\mysect{LNorm}{LNorm}\mysubsect{Function}{LNorm-Function}\index{hlmcopy@\htool{LNorm}|(}The basic function of this tool is to renormalise language models,optionally pruning the vocabulary at the same time or applying cutoffsor weighted discounts.\mysubsect{Use}{LNorm-Use}\htool{LNorm} is invoked by the command line\begin{verbatim} LNorm [options] inLMFile outLMFile\end{verbatim}This reads in the language model {\tt inLMFile} and writes a newlanguage model to {\tt outLMFile}, applying editing operationscontrolled by the following options. In many respects it is similarto \htool{HLMCopy}, but unlike \htool{HLMCopy} it will alwaysrenormalise the resulting model.\begin{optlist} \ttitem{-c n c} Set the pruning threshold for $n$-grams to $c$. Pruning can be applied to the bigram and higher components of a model ($n$>1). The pruning procedure will keep only $n$-grams which have been observed more than $c$ times. Note that this option is only applicable to count-based language models. \ttitem{-d f} Set weighted discount pruning for \texttt{n}-gram to \texttt{c} for Seymore-Rosenfeld pruning. Note that this option is only applicable to count-based language models. \ttitem{-f s} Set the output language model format to {\tt s}. Possible options are {\tt TEXT} for the standard ARPA-MIT LM format, {\tt BIN} for Entropic {\em binary} format and {\tt ULTRA} for Entropic {\em ultra} format. \ttitem{-n n} Save target model as $n$-gram. \ttitem{-w f} Read a word-list defining the output vocabulary from {\tt f}. This will be used to select the vocabulary for the output language model.\end{optlist}\stdopts{LNorm}\mysubsect{Tracing}{LNorm-Tracing}\htool{LNorm} supports the following trace options where eachtrace flag is given using an octal base\begin{optlist} \ttitem{00001} basic progress reporting.\end{optlist}Trace flags are set using the \texttt{-T} option or the \texttt{TRACE} configuration variable.\index{hlmcopy@\htool{LNorm}|)}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -