mapOfEntities.put(startOfCurrentNamedEntity, new NamedEntityPhrase(canonicalNamedEntity, currentNamedEntityType)); currentNamedEntityType = null; currentNamedEntity.setLength(0);
mapOfEntities.put(startOfCurrentNamedEntity, new NamedEntityPhrase(canonicalNamedEntity, currentNamedEntityType)); currentNamedEntityType = null; currentNamedEntity.setLength(0);