Skip to content
HALOWERK

Textwerk

compound split read

Splits every word above a length threshold by dynamic programming over the jWordSplitter German dictionary (Morphy/LanguageTool data, CC BY-SA 4.0) with its exception list: each part must be a dictionary entry of at least three letters, a linking s and known compound stems (wohn-, miet- .) are allowed between parts; fewer parts, joints on Liang hyphenation points and longer parts win. Every part is returned with its dictionary entry and linking element so the split can be checked. Styles:.

POST https://text.halowerk.com/v1/compound-split-read

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYesGerman text or single word.
stylestringNomediopunkt: Bundes·gleichstellungs·gesetz; hyphen: Bundes-Gleichstellungs-Gesetz.
min_lettersintegerNoOnly words with at least this many letters are split.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000,
      "description": "German text or single word."
    },
    "style": {
      "type": "string",
      "enum": [
        "mediopunkt",
        "hyphen"
      ],
      "default": "mediopunkt",
      "description": "mediopunkt: Bundes·gleichstellungs·gesetz; hyphen: Bundes-Gleichstellungs-Gesetz."
    },
    "min_letters": {
      "type": "integer",
      "minimum": 6,
      "maximum": 40,
      "default": 10,
      "description": "Only words with at least this many letters are split."
    }
  }
}

Open original schema

Published input example

{
  "text": "Das Bundesgleichstellungsgesetz gilt für die Bundesverwaltung.",
  "style": "hyphen"
}

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 →