Hi,
I just found a possible bug in moses/src/Word.cpp.
In the function Word::CreateFromString you have the line

Tokenize(wordVec, str, "|");

shouldn't that be rather something like:

const std::string& factorDelimiter = 
StaticData::Instance().GetFactorDelimiter();
TokenizeMultiCharSeparator(wordVec, str , factorDelimiter);

The hardcoded delimiter caused me quite some headache.

Or is it the other way round, that the phrase table should provide only 
factors delimited with "|" ?

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

Reply via email to