Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
src/joshua/decoder/ff/lm/kenlm/lm/weights.hh
00001 #ifndef LM_WEIGHTS__
00002 #define LM_WEIGHTS__
00003 
00004 // Weights for n-grams.  Probability and possibly a backoff.  
00005 
00006 namespace lm {
00007 struct Prob {
00008   float prob;
00009 };
00010 // No inheritance so this will be a POD.  
00011 struct ProbBackoff {
00012   float prob;
00013   float backoff;
00014 };
00015 
00016 } // namespace lm
00017 #endif // LM_WEIGHTS__