Skip to content
HALOWERK

Textwerk

numbers consistency

Rule-based, no model. Numbers are parsed in German (1.234,5) or English (1,234.5) format with scale words (Tsd., Mio., Mrd., thousand, million, billion), percent and percentage-point units; plain integers count as exact counts, decimals stand for their rounding interval (±0.5 of the last digit), qualifiers such as rund, etwa, about widen it by 5 %. All checks use interval arithmetic, so a statement is inconsistent only if no combination of the stated, rounded values can be right. Checks: "X.

POST https://text.halowerk.com/v1/numbers-consistency

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
localestringNoNumber format; auto detects the language.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000
    },
    "locale": {
      "type": "string",
      "enum": [
        "auto",
        "de",
        "en"
      ],
      "default": "auto",
      "description": "Number format; auto detects the language."
    }
  }
}

Open original schema

Published input example

{
  "text": "Von 250 Befragten stimmten 90 zu (32 %). Der Umsatz stieg von 1,2 Mio. Euro auf 1,5 Mio. Euro (+25 %)."
}

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 →