public class FredAnnotator extends AbstractHttpBasedAnnotator implements OKETask1Annotator
granterclient, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
FredAnnotator(String serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createRequestUrl(String text) |
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.TypedSpan> |
performTyping(org.aksw.gerbil.transfer.nif.Document document) |
protected Reader |
replaceDenotesUri(InputStream content) |
protected org.aksw.gerbil.transfer.nif.Document |
requestAnnotations(org.aksw.gerbil.transfer.nif.Document document) |
protected static <T extends org.aksw.gerbil.transfer.nif.Marking> |
transformToClass(List<org.aksw.gerbil.transfer.nif.Marking> markings,
Class<T> clazz) |
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 FredAnnotator(String serviceUrl)
protected org.aksw.gerbil.transfer.nif.Document requestAnnotations(org.aksw.gerbil.transfer.nif.Document document)
throws GerbilException
GerbilExceptionprotected String createRequestUrl(String text) throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected 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 EntityRecognizerGerbilExceptionpublic 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.data.TypedNamedEntity> performTask1(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performTask1 in interface OKETask1AnnotatorGerbilExceptionpublic 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.