On 02/07/15 17:09, Tom Hoar wrote:
> It looks like you compiled with the --with-cmph=... flag because your 
> moses.ini is configured for PhraseDictionaryCompact and the log output 
> shows it loaded. If this is true and you still get the "Exception: 
> vector::_M_range_check" error, try removing the suffix (file extension) 
> .minlexr from the reordering-table path name.

In this case though, looking at the code, I can only see that message
"Loading table into memory" coming from LexicalReorderingTableMemory.

Unless there is a code path that I haven't spotted, that would mean that
either cmph is not compiled in, or no .minlexr file exists.  Looks like
a line in the file doesn't contain as many fields as LoadFromFile is
expecting.

Assuming any of this makes sense, I could make things very slightly
better by adding some code to check for this situation and throw a more
helpful error.


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

Reply via email to