public class NIFBasedAnnotatorWebservice extends AbstractHttpBasedAnnotator implements OKETask2Annotator, OKETask1Annotator, A2KBAnnotator, EntityTyper
granterclient, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
NIFBasedAnnotatorWebservice(String url) |
NIFBasedAnnotatorWebservice(String url,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUrl() |
List<org.aksw.gerbil.transfer.nif.MeaningSpan> |
performA2KBTask(org.aksw.gerbil.transfer.nif.Document document) |
protected <T extends org.aksw.gerbil.transfer.nif.Marking> |
performAnnotation(org.aksw.gerbil.transfer.nif.Document document,
Class<T> resultClass) |
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) |
protected org.aksw.gerbil.transfer.nif.Document |
request(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, setNamepublic NIFBasedAnnotatorWebservice(String url)
public 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> 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.MeaningSpan> performA2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performA2KBTask in interface A2KBAnnotatorGerbilExceptionpublic 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.data.TypedNamedEntity> performTask2(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performTask2 in interface OKETask2AnnotatorGerbilExceptionpublic List<org.aksw.gerbil.transfer.nif.TypedSpan> performRT2KBTask(org.aksw.gerbil.transfer.nif.Document document) throws GerbilException
performRT2KBTask in interface RT2KBAnnotatorGerbilExceptionprotected <T extends org.aksw.gerbil.transfer.nif.Marking> List<T> performAnnotation(org.aksw.gerbil.transfer.nif.Document document, Class<T> resultClass) throws GerbilException
GerbilExceptionprotected org.aksw.gerbil.transfer.nif.Document request(org.aksw.gerbil.transfer.nif.Document document)
throws GerbilException
GerbilExceptionpublic String getUrl()
Copyright © 2014–2017. All rights reserved.