\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 {\bf w1}
\begin{DoxyCompactList}\small\item\em lw1 component of bigram lw1,lw2. \end{DoxyCompactList}\item 
int32 {\bf n\+\_\+tg}\label{structtginfo__s_a5eb046b3d09a4c80e4cdf216c6c7eb46}

\begin{DoxyCompactList}\small\item\em number tg for parent bigram lw1,lw2 \end{DoxyCompactList}\item 
int32 {\bf bowt}\label{structtginfo__s_ac5e9be48da8563941be03f3cd09e3c25}

\begin{DoxyCompactList}\small\item\em tg bowt for lw1,lw2 \end{DoxyCompactList}\item 
int32 {\bf used}\label{structtginfo__s_a38d6aa51b244a7138c476a6e663ffbb4}

\begin{DoxyCompactList}\small\item\em whether used since last lm\+\_\+reset \end{DoxyCompactList}\item 
{\bf trigram\+\_\+t} $\ast$ {\bf tg}\label{structtginfo__s_a3642dc5ac56de1829665bb7d42c9372a}

\begin{DoxyCompactList}\small\item\em Trigrams for lw1,lw2. \end{DoxyCompactList}\item 
struct {\bf tginfo\+\_\+s} $\ast$ {\bf next}
\begin{DoxyCompactList}\small\item\em Next lw1 with same parent lw2; N\+U\+L\+L 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}
\index{tginfo\+\_\+s@{tginfo\+\_\+s}!next@{next}}
\index{next@{next}!tginfo\+\_\+s@{tginfo\+\_\+s}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf tginfo\+\_\+s}$\ast$ tginfo\+\_\+s\+::next}\label{structtginfo__s_a184e60660a4c8168b5268260cd98ffa5}


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



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

\index{tginfo\+\_\+s@{tginfo\+\_\+s}!w1@{w1}}
\index{w1@{w1}!tginfo\+\_\+s@{tginfo\+\_\+s}}
\subsubsection[{w1}]{\setlength{\rightskip}{0pt plus 5cm}int32 tginfo\+\_\+s\+::w1}\label{structtginfo__s_aa151a34891820c55e0fef60cc74b6e05}


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}
