\section{lm3g\+\_\+model\+\_\+s Struct Reference}
\label{structlm3g__model__s}\index{lm3g\+\_\+model\+\_\+s@{lm3g\+\_\+model\+\_\+s}}


Common internal structure for Sphinx 3-\/gram models.  




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

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{structlm3g__model__s_a94b4a80531261a20036cbc41b76b3f3a}} 
\textbf{ unigram\+\_\+t} $\ast$ {\bfseries unigrams}
\item 
\mbox{\label{structlm3g__model__s_a58e72d8dd17a928d1e150e95483092ca}} 
\textbf{ bigram\+\_\+t} $\ast$ {\bfseries bigrams}
\item 
\mbox{\label{structlm3g__model__s_a9d10497789f7406433bccae79db63b9f}} 
\textbf{ trigram\+\_\+t} $\ast$ {\bfseries trigrams}
\item 
\mbox{\label{structlm3g__model__s_a34acf8c1ffaa4bb712ce1196eea59678}} 
\textbf{ lmprob\+\_\+t} $\ast$ \textbf{ prob2}
\begin{DoxyCompactList}\small\item\em Table of actual bigram probs. \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_a273e6ea4c39d1a563cc59f00b4b6ee98}} 
int32 \textbf{ n\+\_\+prob2}
\begin{DoxyCompactList}\small\item\em prob2 size \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_a7ee629aa1b8e88529127cf4da470d80f}} 
\textbf{ lmprob\+\_\+t} $\ast$ \textbf{ bo\+\_\+wt2}
\begin{DoxyCompactList}\small\item\em Table of actual bigram backoff weights. \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_ad4bbdd65d13712fe653afe8b1de9b096}} 
int32 \textbf{ n\+\_\+bo\+\_\+wt2}
\begin{DoxyCompactList}\small\item\em bo\+\_\+wt2 size \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_adc9ed2ad1f2daefdd40713a9dd371673}} 
\textbf{ lmprob\+\_\+t} $\ast$ \textbf{ prob3}
\begin{DoxyCompactList}\small\item\em Table of actual trigram probs. \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_add28369f51e657ee54deed5291c84d09}} 
int32 \textbf{ n\+\_\+prob3}
\begin{DoxyCompactList}\small\item\em prob3 size \end{DoxyCompactList}\item 
\mbox{\label{structlm3g__model__s_a6cec34be6a748a9cece94ae3dfc1e8d7}} 
int32 $\ast$ \textbf{ tseg\+\_\+base}
\begin{DoxyCompactList}\small\item\em tseg\+\_\+base[i$>$$>$L\+O\+G\+\_\+\+B\+G\+\_\+\+S\+E\+G\+\_\+\+SZ] = index of 1st trigram for bigram segment (i$>$$>$L\+O\+G\+\_\+\+B\+G\+\_\+\+S\+E\+G\+\_\+\+SZ) \end{DoxyCompactList}\item 
\textbf{ tginfo\+\_\+t} $\ast$$\ast$ \textbf{ tginfo}
\begin{DoxyCompactList}\small\item\em tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams ($\ast$,lw2). \end{DoxyCompactList}\item 
\textbf{ listelem\+\_\+alloc\+\_\+t} $\ast$ \textbf{ le}
\begin{DoxyCompactList}\small\item\em List element allocator for tginfo. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Common internal structure for Sphinx 3-\/gram models. 

Definition at line 142 of file lm3g\+\_\+model.\+h.



\subsection{Field Documentation}
\mbox{\label{structlm3g__model__s_a2c96ba8aa34632e4d42908f9384d1b01}} 
\index{lm3g\+\_\+model\+\_\+s@{lm3g\+\_\+model\+\_\+s}!le@{le}}
\index{le@{le}!lm3g\+\_\+model\+\_\+s@{lm3g\+\_\+model\+\_\+s}}
\subsubsection{le}
{\footnotesize\ttfamily \textbf{ listelem\+\_\+alloc\+\_\+t}$\ast$ lm3g\+\_\+model\+\_\+s\+::le}



List element allocator for tginfo. 



Definition at line 156 of file lm3g\+\_\+model.\+h.

\mbox{\label{structlm3g__model__s_a9be0c8197334e3ef632e9e3abdad6a4f}} 
\index{lm3g\+\_\+model\+\_\+s@{lm3g\+\_\+model\+\_\+s}!tginfo@{tginfo}}
\index{tginfo@{tginfo}!lm3g\+\_\+model\+\_\+s@{lm3g\+\_\+model\+\_\+s}}
\subsubsection{tginfo}
{\footnotesize\ttfamily \textbf{ tginfo\+\_\+t}$\ast$$\ast$ lm3g\+\_\+model\+\_\+s\+::tginfo}



tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams ($\ast$,lw2). 



Definition at line 154 of file lm3g\+\_\+model.\+h.



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