}
return compatFeatures;
}
public static String getGenderCompatibilityFeature(MentionContext ec, DiscourseEntity de) {
GenderEnum eg = de.getGender();
//System.err.println("getGenderCompatibility: mention="+ec.getGender()+" entity="+eg);
if (eg == GenderEnum.UNKNOWN || ec.getGender() == GenderEnum.UNKNOWN) {
return GEN_UNKNOWN;
}
else if (ec.getGender() == eg) {