summaryrefslogtreecommitdiff
path: root/gi/pyp-topics/src/contexts_corpus.cc
diff options
context:
space:
mode:
authorphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 14:54:18 +0000
committerphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-02 14:54:18 +0000
commit769c2739d652a13f0ae25bf185519cc12b5c844c (patch)
treef01d7a98f7f20f1282e44ef7cfd28fe415bc63ec /gi/pyp-topics/src/contexts_corpus.cc
parent85440ebbcb43f50d4db08a3586b27fe526177766 (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.cc2
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;
}