Skip to content
HALOWERK

Textwerk

review pattern check

Deterministic pattern analysis over up to 2,000 reviews: exact duplicates after normalisation (NFKC, lower case, punctuation removed); near duplicates by Jaccard similarity of word 3-gram shingles (pairs found through a shingle index, exact Jaccard, default 0.8); shared templates as word n-grams (default 6 words) that occur in at least three reviews which are not near duplicates; daily bursts when a day has at least 3 reviews and more than mean + 3 standard deviations of the daily counts.

POST https://text.halowerk.com/v1/review-pattern-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
reviewsarrayYes
rating_scaleintegerNo
near_duplicate_thresholdnumberNo
template_min_wordsintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "reviews"
  ],
  "properties": {
    "reviews": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2000,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "text"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 128
          },
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 10000
          },
          "rating": {
            "type": "number",
            "minimum": 0,
            "maximum": 10
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "author": {
            "type": "string",
            "maxLength": 200,
            "description": "Pseudonymous author id or name as shown."
          }
        }
      }
    },
    "rating_scale": {
      "type": "integer",
      "minimum": 2,
      "maximum": 10,
      "default": 5
    },
    "near_duplicate_threshold": {
      "type": "number",
      "minimum": 0.5,
      "maximum": 1,
      "default": 0.8
    },
    "template_min_words": {
      "type": "integer",
      "minimum": 4,
      "maximum": 20,
      "default": 6
    }
  }
}

Open original schema

Published input example

{
  "reviews": [
    {
      "id": "r1",
      "text": "Super Produkt, schnelle Lieferung, jederzeit wieder!",
      "rating": 5
    },
    {
      "id": "r2",
      "text": "Super Produkt, schnelle Lieferung, jederzeit wieder!",
      "rating": 5
    },
    {
      "id": "r3",
      "text": "Der Akku hält nur zwei Stunden, schade.",
      "rating": 2
    }
  ]
}

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 →