public interface NER
Interface of Named Entity Recognizer
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Modifier and Type | Method and Description |
|---|---|
String |
annotate(String doc)
The format of an annotated text is XML.
|
ArrayList |
extractEntities(String doc)
Extract entities from a given text.
|
ArrayList |
extractFromDoc(Document doc)
The return format is the same as the one by the method extractFromSentence.
|
ArrayList |
extractFromSentence(Sentence sent)
Difering from the method extractEntites, this method will save an entity in a term and thus all information such as entity type
is kept.
|
void |
setAnnotationTypes(String[] arrType)
Set the entity types of interest, for example, organization, location, person, etc.
|
ArrayList extractFromDoc(Document doc)
doc - a parsed documentArrayList extractFromSentence(Sentence sent)
sent - the sentence for extractionArrayList extractEntities(String doc)
doc - the text for processingString annotate(String doc)
doc - the text for annotationvoid setAnnotationTypes(String[] arrType)
arrType - a set of wanted entity types.Copyright © 2018 JULIE Lab, Germany. All rights reserved.