Skip to content
Snippets Groups Projects
Commit 5e1129d5 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Fix logic reversal in one of the checks.

parent 340bbcac
Branches
No related merge requests found
...@@ -76,7 +76,7 @@ StrongAgreement::BaseRetValPtr StrongAgreement::apply_internal(const FunExecCont ...@@ -76,7 +76,7 @@ StrongAgreement::BaseRetValPtr StrongAgreement::apply_internal(const FunExecCont
agreement_met = false; agreement_met = false;
foreach(const Corpus2::Lexeme& i_lex, sc.at(i)->lexemes()) { foreach(const Corpus2::Lexeme& i_lex, sc.at(i)->lexemes()) {
Corpus2::Tag i_inter = i_lex.tag().get_masked(inter); Corpus2::Tag i_inter = i_lex.tag().get_masked(inter);
if (attribs->matching_categories(i_inter) < min_card) { if (attribs->matching_categories(i_inter) >= min_card) {
agreement_met = true; agreement_met = true;
break; break;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment