Treq API
Example
https://treq.korpus.cz/api/v1?from=cs&to=en&multiword=false®ex=true&lemma=true&ci=true&pkgs[0]=SYNDICATE&pkgs[1]=CORE&query=pravda&order=perc&asc=false
Parameters
- from
-
source language
values: ISO 639-1 language code
required
- to
-
target language
values: ISO 639-1 language code
required
- multiword
-
multi-word search
values: true, false
optional
default: false
- regex
-
use regular expressions in query
values: true, false
optional
default: false
- lemma
-
use lemma in query
values: true, false
optional
default: false
- ci
-
case-insensitive search
values: true, false
optional
default: false
- pkgs[]
-
list of packages to search
values: ACQUIS, BIBLE, EUROPARL, CORE, PRESSEUROP, SYNDICATE, SUBTITLES
multivalued
required
- query
-
the query
required
- order
-
sort result by column
values: freq, perc, from, to
optional
default: freq
- asc
-
ascending order
values: true, false
optional
default: false