|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationMetaWebService
Interface for annotation meta web service. Wrapper around the
DocumentService
and AnnotationService
s (such as the
EntityService
).
Method Summary | |
---|---|
String |
annotate(String sessionID,
String document,
String format,
List<String> services)
Annotates the document with the provided services. |
String |
process(String sessionID,
String url,
String type,
String format,
List<String> services)
Processes and annotations a document at a specific URL by
downloading it and ingesting it. |
Methods inherited from interface com.languagecomputer.api.BaseWebService |
---|
registerSession, unregisterSession |
Method Detail |
---|
String process(String sessionID, String url, String type, String format, List<String> services) throws Exception
URL
by
downloading it and ingesting it. Strips extraneous markup and normalizes
the text. Then annotates it with the provided services.
sessionID
- The unique identifier String
for the session
for this operation.document
- The document in the format described in the
format parameter.format
- The format in which the given document is in.
Defaults to XML
.services
- List
of services to run across the document.
Exception
- If there was an error indexing the document.String annotate(String sessionID, String document, String format, List<String> services) throws Exception
sessionID
- The unique identifier String
for the session
for this operation.document
- The document in the format described in the
format parameter.format
- The format in which the given document is in.
Defaults to XML
.services
- List
of services to run across the document.
Exception
- If there was an error indexing the document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |