\section{fsg\+\_\+model\+\_\+s Struct Reference}
\label{structfsg__model__s}\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}


Word level F\+S\+G definition.  




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

\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
int {\bf refcount}
\begin{DoxyCompactList}\small\item\em Reference count. \end{DoxyCompactList}\item 
char $\ast$ {\bf name}\label{structfsg__model__s_ab23ae2c362f1a3b18bbe135b97dfb467}

\begin{DoxyCompactList}\small\item\em A unique string identifier for this F\+S\+G. \end{DoxyCompactList}\item 
int32 {\bf n\+\_\+word}\label{structfsg__model__s_a99ed2894f7690a960d11e1590d11a6b9}

\begin{DoxyCompactList}\small\item\em Number of unique words in this F\+S\+G. \end{DoxyCompactList}\item 
int32 {\bf n\+\_\+word\+\_\+alloc}\label{structfsg__model__s_a329ae88c26111df8cd64657b46b9108f}

\begin{DoxyCompactList}\small\item\em Number of words allocated in vocab. \end{DoxyCompactList}\item 
char $\ast$$\ast$ {\bf vocab}
\begin{DoxyCompactList}\small\item\em Vocabulary for this F\+S\+G. \end{DoxyCompactList}\item 
bitvec\+\_\+t $\ast$ {\bf silwords}
\begin{DoxyCompactList}\small\item\em Indicates which words are silence/fillers. \end{DoxyCompactList}\item 
bitvec\+\_\+t $\ast$ {\bf altwords}
\begin{DoxyCompactList}\small\item\em Indicates which words are pronunciation alternates. \end{DoxyCompactList}\item 
{\bf logmath\+\_\+t} $\ast$ {\bf lmath}
\begin{DoxyCompactList}\small\item\em Pointer to log math computation object. \end{DoxyCompactList}\item 
int32 {\bf n\+\_\+state}\label{structfsg__model__s_a80cdb0b5e7463221ce14135c9f5a3b01}

\begin{DoxyCompactList}\small\item\em number of states in F\+S\+G \end{DoxyCompactList}\item 
int32 {\bf start\+\_\+state}\label{structfsg__model__s_a4ff49da3938ecc236d45a68d009f97b9}

\begin{DoxyCompactList}\small\item\em Must be in the range [0..n\+\_\+state-\/1]. \end{DoxyCompactList}\item 
int32 {\bf final\+\_\+state}\label{structfsg__model__s_ada19c76db4f1fc89c8b5cd674ec865da}

\begin{DoxyCompactList}\small\item\em Must be in the range [0..n\+\_\+state-\/1]. \end{DoxyCompactList}\item 
float32 {\bf lw}\label{structfsg__model__s_aeaff529953d494b9891dbc0fdac8e97f}

\begin{DoxyCompactList}\small\item\em Language weight that's been applied to transition logprobs. \end{DoxyCompactList}\item 
{\bf trans\+\_\+list\+\_\+t} $\ast$ {\bf trans}
\begin{DoxyCompactList}\small\item\em Transitions out of each state, if any. \end{DoxyCompactList}\item 
{\bf listelem\+\_\+alloc\+\_\+t} $\ast$ {\bf link\+\_\+alloc}
\begin{DoxyCompactList}\small\item\em Allocator for F\+S\+G links. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Word level F\+S\+G definition. 

States are simply integers 0..n\+\_\+state-\/1. A transition emits a word and has a given probability of being taken. There can also be null or epsilon transitions, with no associated emitted word. 

Definition at line 91 of file fsg\+\_\+model.\+h.



\subsection{Field Documentation}
\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!altwords@{altwords}}
\index{altwords@{altwords}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{altwords}]{\setlength{\rightskip}{0pt plus 5cm}bitvec\+\_\+t$\ast$ fsg\+\_\+model\+\_\+s\+::altwords}\label{structfsg__model__s_adb51d840853d7ef3315bd833cddeb748}


Indicates which words are pronunciation alternates. 



Definition at line 98 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!link\+\_\+alloc@{link\+\_\+alloc}}
\index{link\+\_\+alloc@{link\+\_\+alloc}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{link\+\_\+alloc}]{\setlength{\rightskip}{0pt plus 5cm}{\bf listelem\+\_\+alloc\+\_\+t}$\ast$ fsg\+\_\+model\+\_\+s\+::link\+\_\+alloc}\label{structfsg__model__s_ac4e2a36305bbe62a5c7468588eb058b1}


Allocator for F\+S\+G links. 



Definition at line 106 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!lmath@{lmath}}
\index{lmath@{lmath}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{lmath}]{\setlength{\rightskip}{0pt plus 5cm}{\bf logmath\+\_\+t}$\ast$ fsg\+\_\+model\+\_\+s\+::lmath}\label{structfsg__model__s_ab0b22dadb593ee1901829f89c4a47fe2}


Pointer to log math computation object. 



Definition at line 99 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!refcount@{refcount}}
\index{refcount@{refcount}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{refcount}]{\setlength{\rightskip}{0pt plus 5cm}int fsg\+\_\+model\+\_\+s\+::refcount}\label{structfsg__model__s_af329127556a42f6ea3b27f41a99a0b17}


Reference count. 



Definition at line 92 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!silwords@{silwords}}
\index{silwords@{silwords}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{silwords}]{\setlength{\rightskip}{0pt plus 5cm}bitvec\+\_\+t$\ast$ fsg\+\_\+model\+\_\+s\+::silwords}\label{structfsg__model__s_ab5709e67c1b7506ab024f2060d50331c}


Indicates which words are silence/fillers. 



Definition at line 97 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!trans@{trans}}
\index{trans@{trans}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{trans}]{\setlength{\rightskip}{0pt plus 5cm}{\bf trans\+\_\+list\+\_\+t}$\ast$ fsg\+\_\+model\+\_\+s\+::trans}\label{structfsg__model__s_ac5cd4b72818b7a9f2dc543d6a6ac9cc7}


Transitions out of each state, if any. 



Definition at line 105 of file fsg\+\_\+model.\+h.

\index{fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}!vocab@{vocab}}
\index{vocab@{vocab}!fsg\+\_\+model\+\_\+s@{fsg\+\_\+model\+\_\+s}}
\subsubsection[{vocab}]{\setlength{\rightskip}{0pt plus 5cm}char$\ast$$\ast$ fsg\+\_\+model\+\_\+s\+::vocab}\label{structfsg__model__s_a6bbfce2d672624d792ff964200a64031}


Vocabulary for this F\+S\+G. 



Definition at line 96 of file fsg\+\_\+model.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sphinxbase/fsg\+\_\+model.\+h\end{DoxyCompactItemize}
