public class AidaAnnotator extends AbstractHttpBasedAnnotator implements A2KBAnnotator
granterclient, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
AidaAnnotator(String serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createTextWithSpans(org.aksw.gerbil.transfer.nif.Document document) |
protected Set<String> |
generateUriSet(String uri) |
protected void |
parseMarkings(org.json.JSONObject outObj,
org.aksw.gerbil.transfer.nif.Document resultDoc) |
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) |
protected Reader |
replaceDenotesUri(InputStream content) |
protected org.aksw.gerbil.transfer.nif.Document |
requestAnnotations(String documentUri,
String text,
boolean containsMentions) |
close, performClose, setClosePermitionGrantercloseRequest, createGetRequest, createHeadRequest, createPostRequest, getClient, getName, interrupt, isCloseClient, sendRequest, sendRequest, setClient, setCloseClient, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, setClosePermitionGranter, setNamepublic AidaAnnotator(String serviceUrl)
protected org.aksw.gerbil.transfer.nif.Document requestAnnotations(String documentUri, String text, boolean containsMentions) throws GerbilException
GerbilExceptionprotected void parseMarkings(org.json.JSONObject outObj,
org.aksw.gerbil.transfer.nif.Document resultDoc)
throws GerbilException
GerbilExceptionprotected Reader replaceDenotesUri(InputStream content) throws IOException
IOExceptionpublic 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.MeaningSpan> performD2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performD2KBTask in interface D2KBAnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.Span> performRecognition(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performRecognition in interface EntityRecognizerGerbilExceptionprotected String createTextWithSpans(org.aksw.gerbil.transfer.nif.Document document)
Copyright © 2014–2017. All rights reserved.