<!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: bigram_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('structbigram__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>bigram_s Struct Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="bigram_s" --> <p>Bigram structure. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="ngram__model__arpa_8h_source.html">ngram_model_arpa.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">uint32 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#af66faad954d56f5ceaf6ba47cdcd9b1f">wid</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Index of unigram entry for this. <a href="#af66faad954d56f5ceaf6ba47cdcd9b1f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a769b8a54f864ac4844e37cfa17ed1af0"></a><!-- doxytag: member="bigram_s::prob2" ref="a769b8a54f864ac4844e37cfa17ed1af0" args="" --> uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#a769b8a54f864ac4844e37cfa17ed1af0">prob2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Index into array of actual bigram probs. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a410991054e81251285cbc209964cdaf4"></a><!-- doxytag: member="bigram_s::bo_wt2" ref="a410991054e81251285cbc209964cdaf4" args="" --> uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#a410991054e81251285cbc209964cdaf4">bo_wt2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Index into array of actual bigram backoff wts. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#a11c1cb1d7c40de624f09c372b36a6857">trigrams</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Index of 1st entry in lm_t.trigrams[], RELATIVE TO its segment base (see above) <a href="#a11c1cb1d7c40de624f09c372b36a6857"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#ab35dcd789b6ff87406b516493cf97854">wid</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Index of unigram entry for this. <a href="#ab35dcd789b6ff87406b516493cf97854"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Bigram structure. </p> <p>On-disk representation of bigrams. </p> <p>Definition at line <a class="el" href="ngram__model__arpa_8h_source.html#l00052">52</a> of file <a class="el" href="ngram__model__arpa_8h_source.html">ngram_model_arpa.h</a>.</p> </div><hr/><h2>Field Documentation</h2> <a class="anchor" id="a11c1cb1d7c40de624f09c372b36a6857"></a><!-- doxytag: member="bigram_s::trigrams" ref="a11c1cb1d7c40de624f09c372b36a6857" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint16 <a class="el" href="structbigram__s.html#a11c1cb1d7c40de624f09c372b36a6857">bigram_s::trigrams</a></td> </tr> </table> </div> <div class="memdoc"> <p>Index of 1st entry in lm_t.trigrams[], RELATIVE TO its segment base (see above) </p> <p>Index of 1st entry in lm_t.trigrams[], RELATIVE TO its segment base (see <a class="el" href="lm3g__model_8h_source.html">lm3g_model.h</a>) </p> <p>Definition at line <a class="el" href="ngram__model__arpa_8h_source.html#l00056">56</a> of file <a class="el" href="ngram__model__arpa_8h_source.html">ngram_model_arpa.h</a>.</p> </div> </div> <a class="anchor" id="ab35dcd789b6ff87406b516493cf97854"></a><!-- doxytag: member="bigram_s::wid" ref="ab35dcd789b6ff87406b516493cf97854" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint16 <a class="el" href="structbigram__s.html#af66faad954d56f5ceaf6ba47cdcd9b1f">bigram_s::wid</a></td> </tr> </table> </div> <div class="memdoc"> <p>Index of unigram entry for this. </p> <p>(NOT dictionary id.) </p> <p>Definition at line <a class="el" href="ngram__model__dmp_8h_source.html#l00055">55</a> of file <a class="el" href="ngram__model__dmp_8h_source.html">ngram_model_dmp.h</a>.</p> </div> </div> <a class="anchor" id="af66faad954d56f5ceaf6ba47cdcd9b1f"></a><!-- doxytag: member="bigram_s::wid" ref="af66faad954d56f5ceaf6ba47cdcd9b1f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32 <a class="el" href="structbigram__s.html#af66faad954d56f5ceaf6ba47cdcd9b1f">bigram_s::wid</a></td> </tr> </table> </div> <div class="memdoc"> <p>Index of unigram entry for this. </p> <p>(NOT dictionary id.) </p> <p>Definition at line <a class="el" href="ngram__model__arpa_8h_source.html#l00053">53</a> of file <a class="el" href="ngram__model__arpa_8h_source.html">ngram_model_arpa.h</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following files:<ul> <li>src/libsphinxbase/lm/<a class="el" href="ngram__model__arpa_8h_source.html">ngram_model_arpa.h</a></li> <li>src/libsphinxbase/lm/<a class="el" href="ngram__model__dmp_8h_source.html">ngram_model_dmp.h</a></li> </ul> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="structbigram__s.html">bigram_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>