\doxysection{ngram\+\_\+model\+\_\+set\+\_\+s Struct Reference}
\label{structngram__model__set__s}\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}}


Subclass of ngram\+\_\+model for grouping language models.  




{\ttfamily \#include $<$ngram\+\_\+model\+\_\+set.\+h$>$}

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\textbf{ ngram\+\_\+model\+\_\+t} \textbf{ base}
\begin{DoxyCompactList}\small\item\em Base ngram\+\_\+model\+\_\+t structure. \end{DoxyCompactList}\item 
int32 \textbf{ n\+\_\+models}
\begin{DoxyCompactList}\small\item\em Number of models in this set. \end{DoxyCompactList}\item 
int32 \textbf{ cur}
\begin{DoxyCompactList}\small\item\em Currently selected model, or -\/1 for none. \end{DoxyCompactList}\item 
\textbf{ ngram\+\_\+model\+\_\+t} $\ast$$\ast$ \textbf{ lms}
\begin{DoxyCompactList}\small\item\em Language models in this set. \end{DoxyCompactList}\item 
char $\ast$$\ast$ \textbf{ names}
\begin{DoxyCompactList}\small\item\em Names for language models. \end{DoxyCompactList}\item 
int32 $\ast$ \textbf{ lweights}
\begin{DoxyCompactList}\small\item\em Log interpolation weights. \end{DoxyCompactList}\item 
int32 $\ast$$\ast$ \textbf{ widmap}
\begin{DoxyCompactList}\small\item\em Word ID mapping for submodels. \end{DoxyCompactList}\item 
int32 $\ast$ \textbf{ maphist}
\begin{DoxyCompactList}\small\item\em Word ID mapping for N-\/\+Gram history. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Subclass of ngram\+\_\+model for grouping language models. 

Definition at line \textbf{ 51} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



\doxysubsection{Field Documentation}
\label{structngram__model__set__s_a3b88f17aa148ceac4f32dd4cbf5f4f81} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!base@{base}}
\index{base@{base}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{base}
{\footnotesize\ttfamily \textbf{ ngram\+\_\+model\+\_\+t} ngram\+\_\+model\+\_\+set\+\_\+s\+::base}



Base ngram\+\_\+model\+\_\+t structure. 



Definition at line \textbf{ 52} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}.

\label{structngram__model__set__s_a031e7d7dcf1667f69e1cb980f45623cb} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!cur@{cur}}
\index{cur@{cur}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{cur}
{\footnotesize\ttfamily int32 ngram\+\_\+model\+\_\+set\+\_\+s\+::cur}



Currently selected model, or -\/1 for none. 



Definition at line \textbf{ 55} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+current()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+current\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+interp()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+known\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+lookup()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+select()}.

\label{structngram__model__set__s_a862d4c4feb5a903101f4a0fdc5ba8a62} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!lms@{lms}}
\index{lms@{lms}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{lms}
{\footnotesize\ttfamily \textbf{ ngram\+\_\+model\+\_\+t}$\ast$$\ast$ ngram\+\_\+model\+\_\+set\+\_\+s\+::lms}



Language models in this set. 



Definition at line \textbf{ 56} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+iter\+\_\+model()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+known\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+lookup()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+map\+\_\+words()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+remove()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+select()}.

\label{structngram__model__set__s_a11068bb0029c788c506bec4507dd6d23} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!lweights@{lweights}}
\index{lweights@{lweights}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{lweights}
{\footnotesize\ttfamily int32$\ast$ ngram\+\_\+model\+\_\+set\+\_\+s\+::lweights}



Log interpolation weights. 



Definition at line \textbf{ 58} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+interp()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+remove()}.

\label{structngram__model__set__s_af34ca232338c2d8c7dc8d13869ac09fd} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!maphist@{maphist}}
\index{maphist@{maphist}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{maphist}
{\footnotesize\ttfamily int32$\ast$ ngram\+\_\+model\+\_\+set\+\_\+s\+::maphist}



Word ID mapping for N-\/\+Gram history. 



Definition at line \textbf{ 60} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}.

\label{structngram__model__set__s_a6c28858d5631a9c9dbc7b2c9583f5c5a} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!n\_models@{n\_models}}
\index{n\_models@{n\_models}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{n\_models}
{\footnotesize\ttfamily int32 ngram\+\_\+model\+\_\+set\+\_\+s\+::n\+\_\+models}



Number of models in this set. 



Definition at line \textbf{ 54} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+count()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+interp()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+iter()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+iter\+\_\+next()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+known\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+lookup()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+map\+\_\+words()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+remove()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+select()}.

\label{structngram__model__set__s_aff5e13c45decde4c5bf30d8aa2b1c7d9} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!names@{names}}
\index{names@{names}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{names}
{\footnotesize\ttfamily char$\ast$$\ast$ ngram\+\_\+model\+\_\+set\+\_\+s\+::names}



Names for language models. 



Definition at line \textbf{ 57} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+current()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+init()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+interp()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+iter\+\_\+model()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+lookup()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+remove()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+select()}.

\label{structngram__model__set__s_addebde44e2b7aa22dd82032c316fc962} 
\index{ngram\_model\_set\_s@{ngram\_model\_set\_s}!widmap@{widmap}}
\index{widmap@{widmap}!ngram\_model\_set\_s@{ngram\_model\_set\_s}}
\doxysubsubsection{widmap}
{\footnotesize\ttfamily int32$\ast$$\ast$ ngram\+\_\+model\+\_\+set\+\_\+s\+::widmap}



Word ID mapping for submodels. 



Definition at line \textbf{ 59} of file \textbf{ ngram\+\_\+model\+\_\+set.\+h}.



Referenced by \textbf{ ngram\+\_\+model\+\_\+set\+\_\+add()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+current\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+known\+\_\+wid()}, \textbf{ ngram\+\_\+model\+\_\+set\+\_\+map\+\_\+words()}, and \textbf{ ngram\+\_\+model\+\_\+set\+\_\+remove()}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/libsphinxbase/lm/\textbf{ ngram\+\_\+model\+\_\+set.\+h}\end{DoxyCompactItemize}
