Search-as-you-type suggestions

Matches query as a prefix against lemmas, bare synset ids (with or without the oewn- prefix used in the RDF/XML/Turtle exports), and ILIs. Results are sorted case-insensitively by display text.

get/api/autocomplete/{query}

Request

  • Base URL: https://en-word.net
  • URL: https://en-word.net/api/autocomplete/{query}
  • Auth: none declared

Path parameters

querystring required

Query parameters

max_resultsinteger

Maximum results per matched category (lemma/synset id/ILI). Defaults to 100.

Response

Suggestions (possibly empty)

displaystring required

Text to show the user.

kind'Lemma' | 'Synset' required

What SearchResult.value refers to, so a client knows which lookup endpoint to call next.

valuestring required

What to look up - a lemma, or a bare synset id - depending on kind.

Changes

No recorded changes to this operation across all 1 revision of this API.