Skip to content
HALOWERK

Denkwerk

query expand de

Synonyms come only from OpenThesaurus (export of 2026-10-31, LGPL-2.1+ or CC BY-SA 4.0, attribution in every answer), grouped by synset so different senses stay apart; colloquial, vulgar and dated entries are excluded unless requested. Compounds are split with own logic: dynamic programming over the OpenThesaurus single-word lexicon (99,460 words) plus optional corpus words, allowing the German linking elements -e-, -s-, -es-, -n-, -en-, -er-, -ens- and the subtractive -e (list per.

POST https://denk.halowerk.com/v1/query-expand-de

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
querystringYes
synonymsbooleanNo
decompoundbooleanNo
transliteratebooleanNo
max_synonyms_per_senseintegerNo
max_sensesintegerNo
include_colloquialbooleanNo
corpusarrayNoOptional domain texts; their words extend the splitting lexicon.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "synonyms": {
      "type": "boolean",
      "default": true
    },
    "decompound": {
      "type": "boolean",
      "default": true
    },
    "transliterate": {
      "type": "boolean",
      "default": true
    },
    "max_synonyms_per_sense": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30,
      "default": 6
    },
    "max_senses": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 5
    },
    "include_colloquial": {
      "type": "boolean",
      "default": false
    },
    "corpus": {
      "type": "array",
      "maxItems": 500,
      "items": {
        "type": "string",
        "maxLength": 20000
      },
      "description": "Optional domain texts; their words extend the splitting lexicon."
    }
  }
}

Open original schema

Published input example

{
  "query": "Lebensversicherungsvertrag kündigen"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →