mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 04:43:03 +03:00
Set default number of scores to 4
This commit is contained in:
parent
e3ef09e9a4
commit
b5b048cf1a
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user