<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.8"/> <title>SphinxBase: bigram_s Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <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> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <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><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){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"> <div class="title">bigram_s Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>Bigram structure. <a href="structbigram__s.html#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 class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> Data Fields</h2></td></tr> <tr class="memitem:af66faad954d56f5ceaf6ba47cdcd9b1f"><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 class="memdesc:af66faad954d56f5ceaf6ba47cdcd9b1f"><td class="mdescLeft"> </td><td class="mdescRight">Index of unigram entry for this. <a href="#af66faad954d56f5ceaf6ba47cdcd9b1f">More...</a><br /></td></tr> <tr class="separator:af66faad954d56f5ceaf6ba47cdcd9b1f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a769b8a54f864ac4844e37cfa17ed1af0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a769b8a54f864ac4844e37cfa17ed1af0"></a> uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#a769b8a54f864ac4844e37cfa17ed1af0">prob2</a></td></tr> <tr class="memdesc:a769b8a54f864ac4844e37cfa17ed1af0"><td class="mdescLeft"> </td><td class="mdescRight">Index into array of actual bigram probs. <br /></td></tr> <tr class="separator:a769b8a54f864ac4844e37cfa17ed1af0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a410991054e81251285cbc209964cdaf4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a410991054e81251285cbc209964cdaf4"></a> uint16 </td><td class="memItemRight" valign="bottom"><a class="el" href="structbigram__s.html#a410991054e81251285cbc209964cdaf4">bo_wt2</a></td></tr> <tr class="memdesc:a410991054e81251285cbc209964cdaf4"><td class="mdescLeft"> </td><td class="mdescRight">Index into array of actual bigram backoff wts. <br /></td></tr> <tr class="separator:a410991054e81251285cbc209964cdaf4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11c1cb1d7c40de624f09c372b36a6857"><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 class="memdesc:a11c1cb1d7c40de624f09c372b36a6857"><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">More...</a><br /></td></tr> <tr class="separator:a11c1cb1d7c40de624f09c372b36a6857"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab35dcd789b6ff87406b516493cf97854"><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 class="memdesc:ab35dcd789b6ff87406b516493cf97854"><td class="mdescLeft"> </td><td class="mdescRight">Index of unigram entry for this. <a href="#ab35dcd789b6ff87406b516493cf97854">More...</a><br /></td></tr> <tr class="separator:ab35dcd789b6ff87406b516493cf97854"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">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><h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="a11c1cb1d7c40de624f09c372b36a6857"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint16 bigram_s::trigrams</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="af66faad954d56f5ceaf6ba47cdcd9b1f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32 bigram_s::wid</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> <a class="anchor" id="ab35dcd789b6ff87406b516493cf97854"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint16 bigram_s::wid</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> <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><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="structbigram__s.html">bigram_s</a></li> <li class="footer">Generated on Sat Oct 18 2014 15:21:17 for SphinxBase by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li> </ul> </div> </body> </html>