\section{tginfo\+\_\+s Struct Reference}
\label{structtginfo__s}\index{tginfo\+\_\+s@{tginfo\+\_\+s}}


Trigram information cache.  




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

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int32 \textbf{ w1}
\begin{DoxyCompactList}\small\item\em lw1 component of bigram lw1,lw2. \end{DoxyCompactList}\item 
\mbox{\label{structtginfo__s_a5eb046b3d09a4c80e4cdf216c6c7eb46}} 
int32 \textbf{ n\+\_\+tg}
\begin{DoxyCompactList}\small\item\em number tg for parent bigram lw1,lw2 \end{DoxyCompactList}\item 
\mbox{\label{structtginfo__s_ac5e9be48da8563941be03f3cd09e3c25}} 
int32 \textbf{ bowt}
\begin{DoxyCompactList}\small\item\em tg bowt for lw1,lw2 \end{DoxyCompactList}\item 
\mbox{\label{structtginfo__s_a38d6aa51b244a7138c476a6e663ffbb4}} 
int32 \textbf{ used}
\begin{DoxyCompactList}\small\item\em whether used since last lm\+\_\+reset \end{DoxyCompactList}\item 
\mbox{\label{structtginfo__s_a3642dc5ac56de1829665bb7d42c9372a}} 
\textbf{ trigram\+\_\+t} $\ast$ \textbf{ tg}
\begin{DoxyCompactList}\small\item\em Trigrams for lw1,lw2. \end{DoxyCompactList}\item 
struct \textbf{ tginfo\+\_\+s} $\ast$ \textbf{ next}
\begin{DoxyCompactList}\small\item\em Next lw1 with same parent lw2; N\+U\+LL if none. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Trigram information cache. 

The following trigram information cache eliminates most traversals of 1g-\/$>$2g-\/$>$3g tree to locate trigrams for a given bigram (lw1,lw2). The organization is optimized for locality of access (to the same lw1), given lw2. 

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



\subsection{Field Documentation}
\mbox{\label{structtginfo__s_a184e60660a4c8168b5268260cd98ffa5}} 
\index{tginfo\+\_\+s@{tginfo\+\_\+s}!next@{next}}
\index{next@{next}!tginfo\+\_\+s@{tginfo\+\_\+s}}
\subsubsection{next}
{\footnotesize\ttfamily struct \textbf{ tginfo\+\_\+s}$\ast$ tginfo\+\_\+s\+::next}



Next lw1 with same parent lw2; N\+U\+LL if none. 



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

\mbox{\label{structtginfo__s_aa151a34891820c55e0fef60cc74b6e05}} 
\index{tginfo\+\_\+s@{tginfo\+\_\+s}!w1@{w1}}
\index{w1@{w1}!tginfo\+\_\+s@{tginfo\+\_\+s}}
\subsubsection{w1}
{\footnotesize\ttfamily int32 tginfo\+\_\+s\+::w1}



lw1 component of bigram lw1,lw2. 

All bigrams with same lw2 linked together (see lm\+\_\+t.\+tginfo). 

Definition at line 130 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}
