mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Merge branch 'master' of https://github.com/moses-smt/mosesdecoder
Conflicts: moses/FF/Model1Feature.cpp
This commit is contained in:
commit
2d6f616480
@ -189,7 +189,7 @@ void Model1Feature::Load(AllOptions::ptr const& opts)
|
||||
for (size_t i=0; i<punctuation.size(); ++i) {
|
||||
const std::string punct = punctuation.substr(i,1);
|
||||
FactorCollection &factorCollection = FactorCollection::Instance();
|
||||
const Factor* punctFactor = factorCollection.AddFactor(punct,false);
|
||||
const Factor* punctFactor = factorCollection.AddFactor(punct,false);
|
||||
std::pair<std::set<const Factor*>::iterator,bool> inserted = m_punctuation.insert(punctFactor);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user