\section{ngram\+\_\+class\+\_\+s Struct Reference}
\label{structngram__class__s}\index{ngram\+\_\+class\+\_\+s@{ngram\+\_\+class\+\_\+s}}


Implementation of ngram\+\_\+class\+\_\+t.  




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

\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ ngram\+\_\+hash\+\_\+s}
\begin{DoxyCompactList}\small\item\em Custom hash table for additional words. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{structngram__class__s_ab5f3cc0142c9fd91b3c3d0e59906b556}} 
int32 \textbf{ tag\+\_\+wid}
\begin{DoxyCompactList}\small\item\em Base word ID for this class tag. \end{DoxyCompactList}\item 
\mbox{\label{structngram__class__s_a370c88602c7c1f7e3ff1a767c027f5cb}} 
int32 \textbf{ start\+\_\+wid}
\begin{DoxyCompactList}\small\item\em Starting base word ID for this class\textquotesingle{} words. \end{DoxyCompactList}\item 
\mbox{\label{structngram__class__s_af13562cbc44647435f315b18df5688dc}} 
int32 \textbf{ n\+\_\+words}
\begin{DoxyCompactList}\small\item\em Number of base words for this class. \end{DoxyCompactList}\item 
\mbox{\label{structngram__class__s_a50077f48f135f1c666745a21574e4205}} 
int32 $\ast$ \textbf{ prob1}
\begin{DoxyCompactList}\small\item\em Probability table for base words. \end{DoxyCompactList}\item 
\mbox{\label{structngram__class__s_aab28f6b41e4020455ff2484a6fa850bb}} 
struct \textbf{ ngram\+\_\+class\+\_\+s\+::ngram\+\_\+hash\+\_\+s} $\ast$ {\bfseries nword\+\_\+hash}
\item 
\mbox{\label{structngram__class__s_a7f450019eb6dc2e31b18eb3ab6009920}} 
int32 \textbf{ n\+\_\+hash}
\begin{DoxyCompactList}\small\item\em Number of buckets in nword\+\_\+hash (power of 2) \end{DoxyCompactList}\item 
\mbox{\label{structngram__class__s_a79438cd582363800bc05da31a9ca49d6}} 
int32 \textbf{ n\+\_\+hash\+\_\+inuse}
\begin{DoxyCompactList}\small\item\em Number of words in nword\+\_\+hash. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of ngram\+\_\+class\+\_\+t. 

Definition at line 83 of file ngram\+\_\+model\+\_\+internal.\+h.



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