That code is inside SRILM.  You might get an answer by posting to
[email protected] .

Or use kenlm. . .

On 01/06/11 08:02, John Morgan wrote:
> Hello,
> 
> I'm  trying to build systems with multiple LMs as features in the ems.
> I  have 7 subcorpora, c1,c2,...c7.
> I use  [LM:c1], [LM:c2], ... [LM:c7] modules in the ems configuration
> file to train the LMs separately on each subcorpus.
> I successfully build and run systems with these LM features on a
> 32-bit ubuntu OS.
> Decoding fails when I try to build the same kind of system on a
> machine with a 64-bit OS.
> The error is:
> moses: ../../include/LHash.cc:270: Boolean LHash<KeyT,
> DataT>::locate(KeyT, unsigned int&) const [with KeyT = unsigned int,
> DataT = float]: Assertion `!Map_noKeyP(key)' failed.
> If I consolidate the corpora and train only 1 LM, the system builds
> successfully on both 32 and 64-bit OS machines.
> I'm using srilm to train the LMs.
> 
> Can anyone help me get around this problem?
> 
> Thanks,
> John
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to