@Deprecated public class AgdistisAnnotator extends it.unipi.di.acube.batframework.systemPlugins.AgdistisAnnotator
| Modifier and Type | Field and Description |
|---|---|
protected String |
host
Deprecated.
|
protected org.json.simple.parser.JSONParser |
jsonParser
Deprecated.
|
protected int |
port
Deprecated.
|
protected it.unipi.di.acube.batframework.utils.WikipediaApiInterface |
wikiApi
Deprecated.
|
| Constructor and Description |
|---|
AgdistisAnnotator(String host,
int port,
it.unipi.di.acube.batframework.utils.WikipediaApiInterface wikiApi)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
HashSet<it.unipi.di.acube.batframework.data.Annotation> |
getAnnotations(String textWithMentions)
Deprecated.
|
long |
getLastAnnotationTime()
Deprecated.
|
protected String host
protected int port
protected it.unipi.di.acube.batframework.utils.WikipediaApiInterface wikiApi
protected org.json.simple.parser.JSONParser jsonParser
public AgdistisAnnotator(String host, int port, it.unipi.di.acube.batframework.utils.WikipediaApiInterface wikiApi)
public long getLastAnnotationTime()
getLastAnnotationTime in interface it.unipi.di.acube.batframework.problems.TopicSystemgetLastAnnotationTime in class it.unipi.di.acube.batframework.systemPlugins.AgdistisAnnotatorpublic HashSet<it.unipi.di.acube.batframework.data.Annotation> getAnnotations(String textWithMentions) throws IOException, org.json.simple.parser.ParseException
getAnnotations in class it.unipi.di.acube.batframework.systemPlugins.AgdistisAnnotatorIOExceptionorg.json.simple.parser.ParseExceptionCopyright © 2014–2017. All rights reserved.