Skip to content

Ekilex API

Yogesh Sharma edited this page Jan 20, 2020 · 11 revisions

Preliminary!

Updated 05.03.2019

list datasets

Request

GET /data/datasets

Response

Example: datasets_result.json

list classifiers

Request

GET /data/classifiers/{classifierName}

Example: /data/classifiers/MORPH

Parameters

  • classifierName - the classifier name constant. Currently exposed listings are for values:
    • LANGUAGE
    • FREQUENCY_GROUP
    • MORPH
    • GENDER
    • WORD_TYPE
    • ASPECT
    • WORD_REL_TYPE
    • LEX_REL_TYPE
    • MEANING_REL_TYPE
    • POS
    • REGISTER
    • DERIV
    • VALUE_STATE
    • PROCESS_STATE

Response

Example: classifiers_MORPH_result.json

list domains

GET /data/domainorigins

Response

domainorigins_result.json

GET /data/domains/{origin}

Example: /data/domains/militerm

Response

Example: domains_militerm_result.json

search words, results arranged by word

Request

GET /data/lexsearch/{word}

Example: /data/lexsearch/suuline

GET /data/lexsearch/{word}/{datasets}

Example: /data/lexsearch/suuline/psv,qq2,ss1

Parameters

  • word - word to search. Meta symbols * and ? can be applied to make less specific search
    • * - placeholder for any number of any symbols in search word
    • ? - placeholder for any one symbol in search word
  • datasets - optional. Comma delimited list of supported dataset codes. Only words with lexemes of specified datasets are retrieved or all if not specified

Response

Example: lexsearch_suuline_result.json

word details

Request

GET /data/worddetails/{wordId}

Example: /data/worddetails/216071

GET /data/worddetails/{wordId}/{datasets}

Example: /data/worddetails/216071/psv,qq2,ss1

Parameters

  • wordId - surrogate id of specific word record in Ekilex database
  • datasets - optional. Comma delimited list of supported dataset codes. Only lexemes of specified datasets are retrieved or all if not specified

Response

Example: worddetails_216071_result.json

word paradigms

GET /data/paradigms/{wordId}

Example: /data/paradigms/237886 paradigms_237886_result.json

search terms, results arranged by meaning

Request

GET /data/termsearch/{word}

Example: /data/termsearch/eu

GET /data/termsearch/{word}/{datasets}

Example: /data/termsearch/eu/est,õtb

Parameters

  • word - word to search. Meta symbols * and ? can be applied to make less specific search
    • * - placeholder for any number of any symbols in search word
    • ? - placeholder for any one symbol in search word
  • datasets - optional. Comma delimited list of supported dataset codes. Only meanings with lexemes of specified datasets are retrieved or all if not specified

Response

Example: termsearch_eu_result.json

meaning details

Request

GET /data/meaningdetails/{meaningId}

Example: /data/meaningdetails/384064

GET /data/meaningdetails/{meaningId}/{datasets}

Example: /data/meaningdetails/384064/est,õtb

Parameters

  • meaningId - surrogate id of specific meaning record in Ekilex database
  • datasets - optional. Comma delimited list of supported dataset codes. Only lexemes of specified datasets are retrieved or all if not specified

Response

Example: meaningdetails_384064_result.json

search sources

Request

GET /data/sourcesearch/{sourceProperty}

Example: /data/sourcesearch/aap-6

Parameters

  • sourceProperty - value of source property to search. Meta symbols * and ? can be applied to make less specific search
    • * - placeholder for any number of any symbols in search word
    • ? - placeholder for any one symbol in search word

Response

Example: sourcesearch_aap-6_result.json

You can’t perform that action at this time.