lmplz error
terminate called after throwing an instance of 'lm::builder::BadDiscountException' what(): /usr/local/src/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: 4-gram discount out of range for adjusted count 3: -0.57606
solution:
- lower your n-gram
- or add more monolingual corpus
Leave a Comment