@Override protected List<String> getFeatures(MentionContext mention, DiscourseEntity entity) { List<String> features = new ArrayList<String>(); features.addAll(super.getFeatures(mention, entity)); if (entity != null) { features.addAll(ResolverUtils.getContextFeatures(mention)); features.addAll(ResolverUtils.getStringMatchFeatures(mention,entity)); features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); } return (features); } }
@Override protected List<String> getFeatures(MentionContext mention, DiscourseEntity entity) { List<String> features = new ArrayList<String>(); features.addAll(super.getFeatures(mention, entity)); if (entity != null) { features.addAll(ResolverUtils.getContextFeatures(mention)); features.addAll(ResolverUtils.getStringMatchFeatures(mention,entity)); features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); } return (features); } }
features.addAll(ResolverUtils.getPronounMatchFeatures(mention,entity)); MentionContext cec = entity.getLastExtent(); features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); features.addAll(ResolverUtils.getContextFeatures(cec)); features.add(ResolverUtils.getMentionCountFeature(entity));
features.addAll(ResolverUtils.getPronounMatchFeatures(mention,entity)); MentionContext cec = entity.getLastExtent(); features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); features.addAll(ResolverUtils.getContextFeatures(cec)); features.add(ResolverUtils.getMentionCountFeature(entity));
features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); features.add(ResolverUtils.getMentionCountFeature(entity));
features.addAll(ResolverUtils.getDistanceFeatures(mention,entity)); features.add(ResolverUtils.getMentionCountFeature(entity));