RESTStyle Web Services

From WebLichtWiki

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
 
* [[References Identifier Service]]
 
* [[References Identifier Service]]
 
* [[Named Entities Recognizer Service]]
 
* [[Named Entities Recognizer Service]]
* [[Creating a Webservice]] (deprecated)
+
<!-- * [[Creating a Webservice]] (deprecated) -->
 
[[Choices in Web Service implementation]]
 
[[Choices in Web Service implementation]]
 
* [[Instantiation of resources]]
 
* [[Instantiation of resources]]

Revision as of 08:50, 13 December 2012

A WebLicht service is simply a synchronous REST-style web service. The client establishes a HTTP connection to the service and initiates a POST request containing the input data. Depending on the service, the client can also set various processing parameters using the query string in the URL. The service processes the input data synchronously and returns the result as output data, using the same HTTP connection.


In order for the WebLicht services to be interoperable with each other, a common machine-readable XML-based exchange format called TCF (Text Corpus Format) is used. A typical WebLicht service processes annotation layers in input TCF to produce new linguistic annotations, it outputs TCF with these annotation added as new layers. The WebLicht tool-chaining architecture imposes a few restrictions on services TCF output. A Weblicht service is not permitted to change the linguistic annotations in the input TCF, it can only add new linguistic annotation layers to the document. A WebLicht service is also not allowed to add an annotation layer that already exists in the input document.


Creating a WebLicht Web Service

Choices in Web Service implementation

WebLicht Webservice Registration