hey ventsislav
we've merged the chart decoding into the trunk.
1 of the changes is that you have to specify the type of phrase table you're
going to use, a bit like for LM. Each phrase table entry now needs a number
@ the beginning to say what implementation you're using, eg
[ttable-file]
*0* 0 0 5 file/path/phrase-table
for phrase based decoding, it's 0 for text file or 1 for binary. The number
correspond to the enum below.
Sorry about that, I'll try & write something up soon
enum PhraseTableImplementation
{
Memory = 0
,Binary = 1
,OnDisk = 2
//,GlueRule = 3
//,Joshua = 4
//,MemorySourceLabel = 5
,NewFormat = 6
//,BerkeleyDb = 7
,SuffixArray = 8
};
2010/4/16 "Венцислав Жечев (Ventsislav Zhechev)" <
[email protected]>
> Hi,
>
> I’m trying to use Moses to do some translation experiments, but I’m getting
> the following error during decoding:
>
> Assertion failed: (token.size() >= 5), function LoadPhraseTables, file
> StaticData.cpp, line 751.
> Abort trap
>
> I did the training according to the documentation available online without
> any errors, using the train-factored-phrase-model.perl script from the Moses
> distribution and SRILM for the LM. I’m getting this error both with the
> latest svn co, the 2010-04-01 distribution and the 2010-04-08 svn version.
>
> I’m running on MacOSX 10.6.3 and I all binaries and libraries are compiled
> for x86_64 architecture.
>
>
> Any clues as to what I might be doing wrong?
>
> Ventzi
>
> –––––––
> Dr. Ventsislav Zhechev
> EuroMatrix+, CNGL
> Dublin City University
> Dublin, Ireland
>
> http://ventsislavzhechev.eu
>
>
> _______________________________________________
> 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