Set default number of scores to 4

This commit is contained in:
Marcin Junczys-Dowmunt 2015-01-22 12:36:50 +01:00
parent e3ef09e9a4
commit b5b048cf1a

View File

@ -57,7 +57,7 @@ int main(int argc, char **argv)
std::string tempfilePath;
PhraseTableCreator::Coding coding = PhraseTableCreator::PREnc;
size_t numScoreComponent = 5;
size_t numScoreComponent = 4;
size_t orderBits = 10;
size_t fingerprintBits = 16;
bool useAlignmentInfo = true;
@ -142,7 +142,7 @@ int main(int argc, char **argv)
}
}
if(!sortScoreIndexSet && numScoreComponent != 5 && coding == PhraseTableCreator::PREnc) {
if(!sortScoreIndexSet && numScoreComponent != 4 && coding == PhraseTableCreator::PREnc) {
std::cerr << "WARNING: You are using a nonstandard number of scores ("
<< numScoreComponent << ") with PREnc. Set the index of P(t|s) "
"with -rankscore int if it is not "