Skip to content

Service: Virtual Corpus Statistics

Eliza Margaretha Illig edited this page Oct 24, 2024 · 11 revisions

** WARNING: This service is experimental and may change without any notice.

Returns statistics of a virtual corpus defined by a corpus query. If no corpus query is given, returns statistics of the whole corpus index. This service is available for public. Authentication and authorization is not required.

Available in: lite and full version

Method: GET

Service URL: root/{version}/statistics

Parameters

Query Parameter

Name Required Description Type Example
cq no a URL-encoded corpus query defining a virtual corpus. If not given, statistics of the whole corpus index will be returned. String corpusSigle%3DGOE

Examples

Request

http://localhost:8089/api/v1.0/statistics?cq=corpusSigle%3DGOE

Response

{
    "documents": 11,
    "tokens": 665842,
    "sentences": 25074,
    "paragraphs": 772
}
Clone this wiki locally