\doxysection{trigram\+\_\+s Struct Reference}
\label{structtrigram__s}\index{trigram\_s@{trigram\_s}}


Trigram structure.  




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

\doxysubsubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
uint32 \textbf{ wid}
\begin{DoxyCompactList}\small\item\em Index of unigram entry for this. \end{DoxyCompactList}\item 
uint16 \textbf{ prob3}
\begin{DoxyCompactList}\small\item\em Index into array of actual trigram probs. \end{DoxyCompactList}\item 
uint16 \textbf{ wid}
\begin{DoxyCompactList}\small\item\em Index of unigram entry for this. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Trigram structure. 

On-\/disk representation of trigrams.

As with bigrams, trigram prob info kept in a separate table for conserving memory space. 

Definition at line \textbf{ 66} of file \textbf{ ngram\+\_\+model\+\_\+arpa.\+h}.



\doxysubsection{Field Documentation}
\label{structtrigram__s_a52f3fad42f7c653a469af0c1b75988a9} 
\index{trigram\_s@{trigram\_s}!prob3@{prob3}}
\index{prob3@{prob3}!trigram\_s@{trigram\_s}}
\doxysubsubsection{prob3}
{\footnotesize\ttfamily uint16 trigram\+\_\+s\+::prob3}



Index into array of actual trigram probs. 



Definition at line \textbf{ 68} of file \textbf{ ngram\+\_\+model\+\_\+arpa.\+h}.

\label{structtrigram__s_a492e1fedb16fa11d26a941177c1305be} 
\index{trigram\_s@{trigram\_s}!wid@{wid}}
\index{wid@{wid}!trigram\_s@{trigram\_s}}
\doxysubsubsection{wid\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily uint32 trigram\+\_\+s\+::wid}



Index of unigram entry for this. 

(NOT dictionary id.) 

Definition at line \textbf{ 67} of file \textbf{ ngram\+\_\+model\+\_\+arpa.\+h}.

\label{structtrigram__s_ad90726c9d1c5b2d564205b4feddcb674} 
\index{trigram\_s@{trigram\_s}!wid@{wid}}
\index{wid@{wid}!trigram\_s@{trigram\_s}}
\doxysubsubsection{wid\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily uint16 trigram\+\_\+s\+::wid}



Index of unigram entry for this. 

(NOT dictionary id.) 

Definition at line \textbf{ 69} of file \textbf{ ngram\+\_\+model\+\_\+dmp.\+h}.



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