public class RestService extends Object
Constructor and Description |
---|
RestService() |
Modifier and Type | Method and Description |
---|---|
String |
annotate(String text,
String n)
Performs the entity linking on a given text, annotating maximum n
entities.
|
String |
getDescription(String id)
Given the Wiki-id of an entity, returns a snippet containing some
sentences that describe the entity.
|
String |
spot(String text)
It only performs the first step of the entity linking process, i.e., find
all the mentions that could refer to an entity.
|
public String annotate(String text, String n)
text
- the text to annotaten
- the maximum number of entities to annotatepublic String getDescription(String id)
id
- the Wiki-id of the entitypublic String spot(String text)
text
- the text to spotCopyright © 2013. All rights reserved.