Skip to content
HALOWERK

Textwerk

paraphrase pairs

Every text is embedded with intfloat/multilingual-e5-small (MIT, "query: " prefix as prescribed for paraphrase retrieval, mean pooling, pinned int8 ONNX, SHA-256 checked); all pairs with cosine similarity at or above threshold (default 0.93, calibrated on German and English examples: paraphrases about 0.945-0.98, unrelated sentences about 0.83-0.88) are reported with word Jaccard and character 3-gram Jaccard. Labels: duplicate when word Jaccard is at least 0.8; similar_but_conflicting when.

POST https://text.halowerk.com/v1/paraphrase-pairs

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textsarrayYes
thresholdnumberNo
max_pairsintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "texts"
  ],
  "properties": {
    "texts": {
      "type": "array",
      "minItems": 2,
      "maxItems": 300,
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "text"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 128
              },
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              }
            }
          }
        ]
      }
    },
    "threshold": {
      "type": "number",
      "minimum": 0.8,
      "maximum": 0.995,
      "default": 0.93
    },
    "max_pairs": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2000,
      "default": 200
    }
  }
}

Open original schema

Published input example

{
  "texts": [
    "Die Lieferung erfolgt innerhalb von drei Werktagen.",
    "Wir liefern binnen drei Arbeitstagen.",
    "Die Rechnung ist sofort fällig."
  ]
}

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 →