Hi Panos

Could you post your ini file and moses output to the list? There may be an 
error in the ini file,

best regards - Barry

On Wednesday 06 July 2011 12:20, Panagiotis Kanavos wrote:
> Hi all,
> I'm trying a new installation of Moses in an Ubuntu 10.04 Server machine. I
> have installed these components: Moses from svn, giza++ version 1:1.0.5 and
> srilm version 1.5.11 (Eric Nichols' packages for Ubuntu Lucid). The error I
> get when I try to run Moses is this:-------------------------moses:
> TargetPhrase.cpp:153: void Moses::TargetPhrase::SetScore(const
> Moses::ScoreProducer*, const Moses::Scores&, const std::vector<float,
> std::allocator<float> >&, float, const Moses::LMList&): Assertion
> `weightT.size() == scoreVector.size()' failed.-------------------------
> After googling I read that this is probably due to the new moses.ini
> format, but my .ini is correct. I also tried to use a binarized version of
> the phrase table and the language model (modifying accordingly the .ini
> file), but the error remains. Moses was compiled and linked successfully to
> srilm, boost, xmlrpc-c. Is it possible that I need to manually compile and
> install newer versions of giza++ and srilm instead of using the Ubuntu
> packages? Many thanks in advance.
> Panos Kanavos

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

Reply via email to