mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-25 12:52:29 +03:00
Removed some debugging messages.
Moved fill_token_seq to tpt_tokenindex.h.
This commit is contained in:
parent
394a40b934
commit
3f9cefe44e
@ -90,12 +90,9 @@ namespace Moses
|
||||
while(getline(in2,line)) text2.push_back(line);
|
||||
while(getline(ina,line)) symal.push_back(line);
|
||||
|
||||
// cerr << "Read " << btdyn->T1->size() << " sentence pairs" << endl;
|
||||
lock_guard<mutex> guard(this->lock);
|
||||
cerr << __FILE__ << ":" << __LINE__ << endl;
|
||||
btdyn = btdyn->add(text1,text2,symal);
|
||||
assert(btdyn);
|
||||
cerr << __FILE__ << ":" << __LINE__ << endl;
|
||||
cerr << "Loaded " << btdyn->T1->size() << " sentence pairs" << endl;
|
||||
}
|
||||
|
||||
@ -528,13 +525,4 @@ namespace Moses
|
||||
throw "CreateRuleLookupManager is currently not supported in Mmsapt!";
|
||||
}
|
||||
|
||||
template<typename Token>
|
||||
void
|
||||
fill_token_seq(TokenIndex& V, string const& line, vector<Token>& dest)
|
||||
{
|
||||
istringstream buf(line); string w;
|
||||
while (buf>>w) dest.push_back(Token(V[w]));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user