Skip to content
HALOWERK

Textwerk

keyword extract

Own implementation of YAKE (Campos et al. 2020, Information Sciences 509:257-289): statistical features per word (casing, position, frequency, relatedness to context, spread over sentences) from the text alone, candidate n-grams up to three words that neither start nor end with a stop word, keyword score from the product of word scores, near-duplicates removed by Levenshtein similarity. Stop words from the Snowball project (BSD); language detection with franc-min when not given. Lower score.

POST https://text.halowerk.com/v1/keyword-extract

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
languagestringNo
max_ngramintegerNo
topintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100000
    },
    "language": {
      "type": "string",
      "enum": [
        "auto",
        "de",
        "en",
        "fr",
        "es",
        "it",
        "nl"
      ],
      "default": "auto"
    },
    "max_ngram": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "default": 3
    },
    "top": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    }
  }
}

Open original schema

Published input example

{
  "text": "Die Wärmepumpe nutzt Umweltwärme. Eine Wärmepumpe arbeitet effizient, wenn das Haus gut gedämmt ist. Förderprogramme unterstützen den Einbau einer Wärmepumpe."
}

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 →