Textwerk
corpus overlap
Text reuse detection with word shingles (Broder 1997): text and corpus documents are segmented into words (Unicode, NFKC, lower case); every run of n words (default 5) is hashed (32-bit FNV-1a) and compared through a hash index of the text. Matching shingles are chained along diagonals into maximal passages, verified word by word against hash collisions and kept from min_passage_words (default 8) words on; each passage reports start and end offsets in the text and in the document. Per.
POST https://text.halowerk.com/v1/corpus-overlapInputs
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | |
| corpus | array | Yes | |
| shingle_words | integer | No | |
| min_passage_words | integer | No | |
| max_passages_per_document | integer | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"text",
"corpus"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500000
},
"corpus": {
"type": "array",
"minItems": 1,
"maxItems": 500,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 1000000
}
}
}
},
"shingle_words": {
"type": "integer",
"minimum": 3,
"maximum": 12,
"default": 5
},
"min_passage_words": {
"type": "integer",
"minimum": 3,
"maximum": 200,
"default": 8
},
"max_passages_per_document": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 20
}
}
}Published input example
{
"text": "Die Datenschutzerklärung erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben.",
"corpus": [
{
"id": "muster",
"text": "Diese Seite erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben, wenn Sie unseren Dienst nutzen."
}
]
}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