mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
Merge github.com:moses-smt/mosesdecoder into hieu_opt_input
This commit is contained in:
commit
f70084178c
@ -1010,7 +1010,7 @@ bool StaticData::LoadAlternateWeightSettings()
|
||||
else if (args[0] == "ignore-ff") {
|
||||
set< string > *ffNameSet = new set< string >;
|
||||
m_weightSettingIgnoreFF[ currentId ] = *ffNameSet;
|
||||
vector<string> featureFunctionName = Tokenize(args[1], " ");
|
||||
vector<string> featureFunctionName = Tokenize(args[1], ",");
|
||||
for(size_t k=0; k<featureFunctionName.size(); k++) {
|
||||
// check if a valid nane
|
||||
map<string,FeatureFunction*>::iterator ffLookUp = nameToFF.find(featureFunctionName[k]);
|
||||
|
Loading…
Reference in New Issue
Block a user