public class Labeler extends Object
| Constructor and Description |
|---|
Labeler(edu.stanford.nlp.ie.crf.CRFClassifier<edu.stanford.nlp.util.CoreMap> classifier,
Locale language,
String personTag,
String organisationTag,
String locationTag) |
| Modifier and Type | Method and Description |
|---|---|
Collection<NamedEntity> |
extractEntities(String text) |
protected NamedEntity.Type |
map(String annotationType) |
@Nullable protected NamedEntity.Type map(String annotationType)
public Collection<NamedEntity> extractEntities(String text)
Copyright © 2017. All rights reserved.