public class InstanceListBasedAnnotator extends AbstractAnnotator implements A2KBAnnotator, C2KBAnnotator, D2KBAnnotator, EntityRecognizer, EntityTyper, OKETask1Annotator, OKETask2Annotator
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.aksw.gerbil.transfer.nif.Document> |
uriInstanceMapping
Mapping of URI + text.length() to the documents.
|
granter, name| Constructor and Description |
|---|
InstanceListBasedAnnotator(String annotatorName,
List<org.aksw.gerbil.transfer.nif.Document> instances) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
generateDocUri(String uri,
int textLength) |
protected org.aksw.gerbil.transfer.nif.Document |
getDocument(String uri,
int textLength) |
protected <T extends org.aksw.gerbil.transfer.nif.Marking> |
getDocumentMarkings(String uri,
int textLength,
Class<T> clazz) |
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
performA2KBTask(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.Meaning> |
performC2KB(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
performD2KBTask(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.Span> |
performRecognition(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.TypedSpan> |
performRT2KBTask(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.data.TypedNamedEntity> |
performTask1(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.data.TypedNamedEntity> |
performTask2(org.aksw.gerbil.transfer.nif.Document document) |
List<org.aksw.gerbil.transfer.nif.TypedSpan> |
performTyping(org.aksw.gerbil.transfer.nif.Document document) |
close, getName, performClose, setClosePermitionGranter, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, setClosePermitionGranter, setNameprotected org.aksw.gerbil.transfer.nif.Document getDocument(String uri, int textLength)
protected <T extends org.aksw.gerbil.transfer.nif.Marking> List<T> getDocumentMarkings(String uri, int textLength, Class<T> clazz)
public List<org.aksw.gerbil.transfer.nif.data.TypedNamedEntity> performTask2(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performTask2 in interface OKETask2AnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.data.TypedNamedEntity> performTask1(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performTask1 in interface OKETask1AnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.TypedSpan> performTyping(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performTyping in interface EntityTyperGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.Span> performRecognition(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performRecognition in interface EntityRecognizerGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.MeaningSpan> performD2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performD2KBTask in interface D2KBAnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.Meaning> performC2KB(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performC2KB in interface C2KBAnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.MeaningSpan> performA2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performA2KBTask in interface A2KBAnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.TypedSpan> performRT2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performRT2KBTask in interface RT2KBAnnotatorGerbilExceptionCopyright © 2014–2017. All rights reserved.