📄 lsubset.tex
字号:
%% HLMBook - V.Valtchev 26/05/98%% Updated - Gareth Moore 15/01/02%\newpage\mysect{LSubset}{LSubset}\mysubsect{Function}{LSubset-Function}\index{lsubset@\htool{LSubset}|(}This program will resolve a word map against a class map and produce anew word map which contains the class-mapped words. The tool is typicallyused to generated a vocabulary-specific $n$-gram word map which is then supplied to \htool{LBuild} to build the actual language models.All class symbols present in the class map will be added to the outputmap. The \texttt{-a} option can be used to set the maximum number ofnew class symbols in the final word map. Note that the word-class mapresolution procedure is identical to the the one used in \htool{LSubset}when filtering $n$-gram files.\mysubsect{Use}{LSubset-Use}\htool{LSubset} is invoked by typing the command line\begin{verbatim} LSubset [options] inMapFile classMap outMapFile\end{verbatim}The word map and class map are loaded, word-class mappings performed and a new map is saved to \texttt{outMapFile}. The output map's name will beset to \begin{verbatim}Name = inMapName%%classMapName\end{verbatim}The allowable options to \htool{LSubset} are as follows\begin{optlist} \ttitem{-a n} Set the maximum number of new classes that can be added to the output map (default 1000).\end{optlist}\stdopts{LSubset}\mysubsect{Tracing}{LSubset-Tracing}\htool{LSubset} does not provide any trace options. However, trace information is available from the underlying library modules \htool{LWMap} and \htool{LCMap} by seeting the appropriate traceconfiguration parameters.\index{lsubset@\htool{LSubset}|)}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -