-
Notifications
You must be signed in to change notification settings - Fork 3
Service: Virtual Corpus Statistics with KoralQuery
Eliza Margaretha Illig edited this page Oct 24, 2024
·
3 revisions
Returns statistics of a virtual corpus described in KoralQuery. If no KoralQuery is given, returns statistics of the whole corpus index.
Available in: lite and full version
Method: POST
Service URL: root/{version}/statistics
Header Parameters
Name | Required | Description | Value |
---|---|---|---|
Content-Type | yes | content type of the input data | application/json |
Request body
KoralQuery defining a virtual corpus.
Request
curl -H 'Content-Type: application/json'
-d '{"collection": {"@type": "koral:doc","key": "availability",
"match": "match:eq","type": "type:regex","value": "CC-BY.*"}}'
http://localhost:8089/api/v1.0/statistics
Response
{ "documents": 2, "tokens": 72770, "sentences": 2985, "paragraphs": 128 }
- Setting LDAP
- Setting initial super client
- Setting a custom environment
- Disabling query rewrites
- Named virtual corpora
- Importing Kustvakt to Eclipse
- Installing Lombok
- Setting annotation processors
- Setting a test environment
- HTTP Basic Authentication
- OAuth2 authorization scopes
- OAuth2 authorization request
- OAuth2 token request
- OAuth2 token revocation
- OAuth2 client registration
- OAuth2 client info
- OAuth2 client deregistration
- OAuth2 client secret reset
- Plugin registration
- Plugin list (marketplace)
- Plugin installation
- Plugin uninstallation
- Installed plugin list
- VC creation and update
- VC deletion
- VC list
- VC info
- VC KoralQuery
- VC statistics
- VC statistics with KoralQuery