mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-27 20:12:02 +03:00
Merge branch 'master' of github.com:moses-smt/mosesdecoder
This commit is contained in:
commit
1931bfe959
@ -364,7 +364,6 @@ void compute_cooc_stats_and_filter(std::vector<PTEntry*>& options)
|
||||
|
||||
void prune_cache(PhraseSetMap & psm) {
|
||||
if(max_cache && psm.size() > max_cache) {
|
||||
std::cerr << "Cache: " << psm.size() << std::endl;
|
||||
std::vector<clock_t> clocks;
|
||||
for(PhraseSetMap::iterator it = psm.begin(); it != psm.end(); it++)
|
||||
clocks.push_back(it->second.second);
|
||||
|
Loading…
Reference in New Issue
Block a user