Hello,

While using KenLM for language model training for Hindi I got this error.


mosesdecoder/lm/builder/adjust_counts.cc:61 in void
lm::builder::{anonymous}::StatCollector::CalculateDiscounts(const
lm::builder::DiscountConfig&) threw BadDiscountException because
`discounts_[i].amount[j] < 0.0 || discounts_[i].amount[j] > j'.

ERROR: 1-gram discount out of range for adjusted count 2: -0.0625
Aborted (core dumped)


Please suggest how to remove this error.

Thanking in advance.
Best Regards
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to