Textwerk
quote in source
Quote and source are normalised with an offset map back to the original source: Unicode NFKC, case folding, all quotation marks, apostrophes and dashes unified, whitespace collapsed, soft hyphens removed and line-end hyphenation joined (gekün-\ndigt -> gekündigt). Omission marks ([.], (.), ., ) split the quote into segments that must occur in order. Each segment is searched exactly; otherwise the closest substring of the source is found with Sellers' semi-global edit distance (Sellers.
POST https://text.halowerk.com/v1/quote-in-sourceInputs
| Field | Type | Required | Description |
|---|---|---|---|
| quote | string | Yes | |
| source | string | Yes | |
| max_edit_ratio | number | No | |
| case_sensitive | boolean | No | |
| semantic | boolean | No | Also look for a paraphrase with sentence embeddings (downloads a model on first use). |
| semantic_threshold | number | No |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"quote",
"source"
],
"properties": {
"quote": {
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"source": {
"type": "string",
"minLength": 1,
"maxLength": 1000000
},
"max_edit_ratio": {
"type": "number",
"minimum": 0,
"maximum": 0.4,
"default": 0.15
},
"case_sensitive": {
"type": "boolean",
"default": false
},
"semantic": {
"type": "boolean",
"default": false,
"description": "Also look for a paraphrase with sentence embeddings (downloads a model on first use)."
},
"semantic_threshold": {
"type": "number",
"minimum": 0.8,
"maximum": 0.99,
"default": 0.93
}
}
}Published input example
{
"quote": "„Der Vertrag kann jederzeit gekündigt werden\"",
"source": "In § 5 heißt es: Der Vertrag kann jederzeit mit einer Frist von einem Monat gekündigt werden."
}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