Commit 215c5fa12c03ef921df60b1e8e752a36725c5a88
1 parent
71cb4e47
Fix compatibleGender method.
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/pl/waw/ipipan/zil/core/bartek/utils/MentionUtils.java
... | ... | @@ -33,7 +33,7 @@ public class MentionUtils { |
33 | 33 | public static boolean compatibleGender(Mention m1, Mention m2) { |
34 | 34 | if (m1.getGender().equals(Gender.UNKNOWN) || m2.getGender().equals(Gender.UNKNOWN)) |
35 | 35 | return true; |
36 | - return m1.getNumber().equals(m2.getNumber()); | |
36 | + return m1.getGender().equals(m2.getGender()); | |
37 | 37 | } |
38 | 38 | |
39 | 39 | public static boolean compatibleNumber(Mention m1, Mention m2) { |
... | ... |