Hi everyone,

 

I am trying to build a language model using lmplz but I am running into some problems.

The error is:


adjust_counts.cc:50 in void lm::builder::<unnamed>::StatCollector::CalculateDiscounts() threw BadDiscountException because `discounts_[i].amount[j] < 0.0 || discounts_[i].amount[j] > j'.

ERROR: 5-gram discount out of range for adjusted count 2: -5.03664

Aborted

 

I have followed the Moses manual closely and the command I used to run was:

/bin/lmplz -o 5 -S 80% -T  /tmp/ <  /data/lm.fr >  /engines/FR_FR/lm/lmplz.arpa

 

I don’t think it is a problem with our data as I have been able to build a language model using IRSTLM and MITLM successfully.

 

Could anyone please help us with getting lmplz to work with this data?

 

 

Thanks,

Darragh

 

--
Oracle
Darragh Whelan | Software Engineer | +353 180 31922

Oracle - WPTG

East Point Business Park

Clontarf

Dublin

Ireland

Green Oracle

Oracle is committed to developing practices and products that help protect the environment

 

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to