Skip to content
HALOWERK

Textwerk

text stats

Counts characters, letters, words, numbers, sentences (LanguageTool SRX rules for German, simple punctuation rules for English) and paragraphs; reports average word and sentence length, the longest sentence and the most frequent content words (Snowball stop lists, BSD). Reading time uses the mean rates of Brysbaert (2019, Journal of Memory and Language 109:104047, Table 5): German 260 words/min silent and 169 aloud, English 236 and 190; custom rates are possible. Vocabulary: type-token.

POST https://text.halowerk.com/v1/text-stats

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
languagestringNo
words_per_minuteintegerNoOwn silent reading rate instead of the Brysbaert mean.
top_wordsintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200000
    },
    "language": {
      "type": "string",
      "enum": [
        "de",
        "en"
      ],
      "default": "de"
    },
    "words_per_minute": {
      "type": "integer",
      "minimum": 50,
      "maximum": 1000,
      "description": "Own silent reading rate instead of the Brysbaert mean."
    },
    "top_words": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "default": 10
    }
  }
}

Open original schema

Published input example

{
  "text": "Der Hund läuft. Der Hund schläft."
}

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 →