for (Triple<String, Integer, Integer> t: triples) {
w = str.substring(t.second, t.third);
if (!config.isBlacklistedEntity(w) && !entities.contains(w))
- entities.add(w);
+ entities.add(config.getEntityAlias(w));
}
LOG.exiting(CLASS_NAME, FUNCTION_NAME, entities);