<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>SphinxBase: lm3g_model_s Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">SphinxBase <span id="projectnumber">0.6</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('structlm3g__model__s.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#pub-attribs">Data Fields</a> </div> <div class="headertitle"> <h1>lm3g_model_s Struct Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="lm3g_model_s" --> <p>Common internal structure for Sphinx 3-gram models. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a>></code></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a94b4a80531261a20036cbc41b76b3f3a"></a><!-- doxytag: member="lm3g_model_s::unigrams" ref="a94b4a80531261a20036cbc41b76b3f3a" args="" --> <a class="el" href="structunigram__s.html">unigram_t</a> * </td><td class="memItemRight" valign="bottom"><b>unigrams</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58e72d8dd17a928d1e150e95483092ca"></a><!-- doxytag: member="lm3g_model_s::bigrams" ref="a58e72d8dd17a928d1e150e95483092ca" args="" --> <a class="el" href="structbigram__s.html">bigram_t</a> * </td><td class="memItemRight" valign="bottom"><b>bigrams</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d10497789f7406433bccae79db63b9f"></a><!-- doxytag: member="lm3g_model_s::trigrams" ref="a9d10497789f7406433bccae79db63b9f" args="" --> <a class="el" href="structtrigram__s.html">trigram_t</a> * </td><td class="memItemRight" valign="bottom"><b>trigrams</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a34acf8c1ffaa4bb712ce1196eea59678"></a><!-- doxytag: member="lm3g_model_s::prob2" ref="a34acf8c1ffaa4bb712ce1196eea59678" args="" --> <a class="el" href="unionlmprob__t.html">lmprob_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a34acf8c1ffaa4bb712ce1196eea59678">prob2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Table of actual bigram probs. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a273e6ea4c39d1a563cc59f00b4b6ee98"></a><!-- doxytag: member="lm3g_model_s::n_prob2" ref="a273e6ea4c39d1a563cc59f00b4b6ee98" args="" --> int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a273e6ea4c39d1a563cc59f00b4b6ee98">n_prob2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">prob2 size <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ee629aa1b8e88529127cf4da470d80f"></a><!-- doxytag: member="lm3g_model_s::bo_wt2" ref="a7ee629aa1b8e88529127cf4da470d80f" args="" --> <a class="el" href="unionlmprob__t.html">lmprob_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a7ee629aa1b8e88529127cf4da470d80f">bo_wt2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Table of actual bigram backoff weights. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4bbdd65d13712fe653afe8b1de9b096"></a><!-- doxytag: member="lm3g_model_s::n_bo_wt2" ref="ad4bbdd65d13712fe653afe8b1de9b096" args="" --> int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#ad4bbdd65d13712fe653afe8b1de9b096">n_bo_wt2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">bo_wt2 size <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc9ed2ad1f2daefdd40713a9dd371673"></a><!-- doxytag: member="lm3g_model_s::prob3" ref="adc9ed2ad1f2daefdd40713a9dd371673" args="" --> <a class="el" href="unionlmprob__t.html">lmprob_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#adc9ed2ad1f2daefdd40713a9dd371673">prob3</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Table of actual trigram probs. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add28369f51e657ee54deed5291c84d09"></a><!-- doxytag: member="lm3g_model_s::n_prob3" ref="add28369f51e657ee54deed5291c84d09" args="" --> int32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#add28369f51e657ee54deed5291c84d09">n_prob3</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">prob3 size <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6cec34be6a748a9cece94ae3dfc1e8d7"></a><!-- doxytag: member="lm3g_model_s::tseg_base" ref="a6cec34be6a748a9cece94ae3dfc1e8d7" args="" --> int32 * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a6cec34be6a748a9cece94ae3dfc1e8d7">tseg_base</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">tseg_base[i>>LOG_BG_SEG_SZ] = index of 1st trigram for bigram segment (i>>LOG_BG_SEG_SZ) <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structtginfo__s.html">tginfo_t</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a9be0c8197334e3ef632e9e3abdad6a4f">tginfo</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams (*,lw2). <a href="#a9be0c8197334e3ef632e9e3abdad6a4f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structlistelem__alloc__s.html">listelem_alloc_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="structlm3g__model__s.html#a2c96ba8aa34632e4d42908f9384d1b01">le</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">List element allocator for tginfo. <a href="#a2c96ba8aa34632e4d42908f9384d1b01"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Common internal structure for Sphinx 3-gram models. </p> <p>Definition at line <a class="el" href="lm3g__model_8h_source.html#l00143">143</a> of file <a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a>.</p> </div><hr/><h2>Field Documentation</h2> <a class="anchor" id="a2c96ba8aa34632e4d42908f9384d1b01"></a><!-- doxytag: member="lm3g_model_s::le" ref="a2c96ba8aa34632e4d42908f9384d1b01" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structlistelem__alloc__s.html">listelem_alloc_t</a>* <a class="el" href="structlm3g__model__s.html#a2c96ba8aa34632e4d42908f9384d1b01">lm3g_model_s::le</a></td> </tr> </table> </div> <div class="memdoc"> <p>List element allocator for tginfo. </p> <p>Definition at line <a class="el" href="lm3g__model_8h_source.html#l00157">157</a> of file <a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a>.</p> </div> </div> <a class="anchor" id="a9be0c8197334e3ef632e9e3abdad6a4f"></a><!-- doxytag: member="lm3g_model_s::tginfo" ref="a9be0c8197334e3ef632e9e3abdad6a4f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="structtginfo__s.html">tginfo_t</a>** <a class="el" href="structlm3g__model__s.html#a9be0c8197334e3ef632e9e3abdad6a4f">lm3g_model_s::tginfo</a></td> </tr> </table> </div> <div class="memdoc"> <p>tginfo[lw2] is head of linked list of trigram information for some cached subset of bigrams (*,lw2). </p> <p>Definition at line <a class="el" href="lm3g__model_8h_source.html#l00155">155</a> of file <a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>src/libsphinxbase/lm/<a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="structlm3g__model__s.html">lm3g_model_s</a> </li> <li class="footer">Generated on Tue Apr 19 2011 for SphinxBase by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>