Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-06-28 18:58:59 +0400
committerKenneth Heafield <github@kheafield.com>2012-06-28 18:58:59 +0400
commitc7e02eb67743b31f4cfab752c60fe96f8e2ae630 (patch)
treee25d3c43e239e02ae3adff5262b8f674decb826a /lm/return.hh
parentf6b3354f396f8d90e273a3a8255b68cfd5f33f70 (diff)
KenLM e3b5c55910 including rest costs for probing
Diffstat (limited to 'lm/return.hh')
-rw-r--r--lm/return.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lm/return.hh b/lm/return.hh
index 1b55091b2..622320ce1 100644
--- a/lm/return.hh
+++ b/lm/return.hh
@@ -33,6 +33,9 @@ struct FullScoreReturn {
*/
bool independent_left;
uint64_t extend_left; // Defined only if independent_left
+
+ // Rest cost for extension to the left.
+ float rest;
};
} // namespace lm