mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
allow setting of nscores in compact phrase table query tool
This commit is contained in:
parent
25553079d9
commit
a27df5c046
@ -56,7 +56,9 @@ int main(int argc, char **argv)
|
||||
|
||||
StaticData::InstanceNonConst().LoadData(parameter);
|
||||
|
||||
PhraseDictionaryCompact pdc("PhraseDictionaryCompact input-factor=0 output-factor=0 num-features=5 path=" + ttable);
|
||||
std::stringstream ss;
|
||||
ss << nscores;
|
||||
PhraseDictionaryCompact pdc("PhraseDictionaryCompact input-factor=0 output-factor=0 num-features=" + ss.str() + " path=" + ttable);
|
||||
pdc.Load();
|
||||
|
||||
std::string line;
|
||||
|
Loading…
Reference in New Issue
Block a user