Textwerk
term extract
Splits the text into sentences (Intl.Segmenter) and punctuation-free chunks, builds word n-grams up to max_ngram that neither start nor end with a function word (hand-compiled closed-class lists) and contain no function word inside. German candidates must end in a capitalised word (noun head); sentence-initial single words count only if they also appear capitalised elsewhere. Plural variants are merged when the shorter form also occurs. Candidates are ranked by C-value (Frantzi, Ananiadou.
POST https://text.halowerk.com/v1/term-extractInputs
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | German or English text. |
| language | string | No | auto detects German or English; other languages are rejected. |
| max_terms | integer | No | Maximum number of returned candidates. |
| min_frequency | integer | No | Minimum number of occurrences. |
| max_ngram | integer | No | Maximum number of words per candidate. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200000,
"description": "German or English text."
},
"language": {
"type": "string",
"enum": [
"auto",
"de",
"en"
],
"default": "auto",
"description": "auto detects German or English; other languages are rejected."
},
"max_terms": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 50,
"description": "Maximum number of returned candidates."
},
"min_frequency": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 2,
"description": "Minimum number of occurrences."
},
"max_ngram": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"default": 3,
"description": "Maximum number of words per candidate."
}
}
}Published input example
{
"text": "Die elektronische Rechnung ersetzt die Papierrechnung. Jede elektronische Rechnung braucht eine Leitweg-ID. Die Leitweg-ID steht im Auftrag.",
"language": "de"
}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
- Textwerk0.002 USDC
acronym ideas
POSThttps://text.halowerk.com/v1/acronym-ideasSplits the title into words, marks German and English stop words (and, of, für, und ), and enumerates in word order every combination of the first 1-3 letters of each significant word (stop words contribute 0 or 1 letter when allowed), with
- Textwerk0.005 USDC
agg check
POSThttps://text.halowerk.com/v1/agg-checkApplies documented rules to the ad text and its first line or title: explicit age limits and age ranges, youth-related team wording and career-stage target groups (age); native-speaker, accent and origin requirements, nationality (ethnic or
- Textwerk0.002 USDC
anglicism replace
POSThttps://text.halowerk.com/v1/anglicism-replaceLooks up every word in about 1,050 entries that OpenThesaurus (export 2026-10-30, LGPL-2.1 or CC BY-SA 4.0) labels English, Anglicism or Denglisch, matching inflected forms from german-pos-dict 1.2.2 (CC BY-SA 4.0) and English heads of comp