diff options
author | philblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 14:54:18 +0000 |
---|---|---|
committer | philblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-02 14:54:18 +0000 |
commit | 769c2739d652a13f0ae25bf185519cc12b5c844c (patch) | |
tree | f01d7a98f7f20f1282e44ef7cfd28fe415bc63ec /gi/pyp-topics/src/contexts_corpus.cc | |
parent | 85440ebbcb43f50d4db08a3586b27fe526177766 (diff) |
Undid timer changes, will have to think of something else ...
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@104 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pyp-topics/src/contexts_corpus.cc')
-rw-r--r-- | gi/pyp-topics/src/contexts_corpus.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pyp-topics/src/contexts_corpus.cc b/gi/pyp-topics/src/contexts_corpus.cc index c09188af..f01d352a 100644 --- a/gi/pyp-topics/src/contexts_corpus.cc +++ b/gi/pyp-topics/src/contexts_corpus.cc @@ -35,7 +35,7 @@ void read_callback(const ContextsLexer::PhraseContextsType& new_contexts, void* // filter out singleton contexts if (!counts->empty()) { map<string,int>::const_iterator find_it = counts->find(context_str); - if (find_it == counts->end() || find_it->second < 1) + if (find_it == counts->end() || find_it->second < 2) continue; } |