This is an example of a service for use in the CLARIAH WP3 Virtual Research Environment that is currently under development.
The service provides basic statistics and keyword/sentence extraction for TEI-encoded documents.
curl -X POST -F file=@{filename} -F layer={div-type} http://{domain}:{port}
By default, the service analyzes the first div
in a text
element. If layer
is provided, the service analyzes all
divs with type div-type
(e.g. 'chapter').