public class AgdistisAnnotator extends AbstractHttpBasedAnnotator implements D2KBAnnotator
| Modifier and Type | Field and Description |
|---|---|
protected String |
host |
protected org.json.simple.parser.JSONParser |
jsonParser |
protected int |
port |
granterclient, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
AgdistisAnnotator() |
AgdistisAnnotator(String host,
String portString) |
| Modifier and Type | Method and Description |
|---|---|
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
getAnnotations(String textWithMentions) |
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
performD2KBTask(org.aksw.gerbil.transfer.nif.Document document) |
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, setNameprotected String host
protected int port
protected org.json.simple.parser.JSONParser jsonParser
public AgdistisAnnotator()
throws GerbilException
GerbilExceptionpublic AgdistisAnnotator(String host, String portString) throws GerbilException
GerbilExceptionpublic 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.MeaningSpan> getAnnotations(String textWithMentions) throws GerbilException
GerbilExceptionCopyright © 2014–2017. All rights reserved.