summaryrefslogtreecommitdiff
path: root/klm/lm/weights.hh
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-05-16 13:24:08 -0700
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-05-26 22:59:54 -0400
commit149232c38eec558ddb1097698d1570aacb67b59f (patch)
tree5860b4d6f681eeb04a1020cbb2fe7e6ac394af99 /klm/lm/weights.hh
parent01ecc09f8e3a82c32bf7dd2f90c12554becea71d (diff)
Big kenlm change includes lower order models for probing only. And other stuff.
Diffstat (limited to 'klm/lm/weights.hh')
-rw-r--r--klm/lm/weights.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/klm/lm/weights.hh b/klm/lm/weights.hh
index 1f38cf5e..bd5d8034 100644
--- a/klm/lm/weights.hh
+++ b/klm/lm/weights.hh
@@ -12,6 +12,11 @@ struct ProbBackoff {
float prob;
float backoff;
};
+struct RestWeights {
+ float prob;
+ float backoff;
+ float rest;
+};
} // namespace lm
#endif // LM_WEIGHTS__