Skip to content
HALOWERK

Text Tools

icu lexical edit overlap

Draft comparison measures retained whole-word occurrences between two versions of a text. Use it when an agent needs a quantity-aware estimate of unchanged vocabulary.

POST https://text.halowerk.com/v1/icu-lexical-edit-overlap

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
localestringNo
revisionstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 7000,
      "minLength": 1
    },
    "locale": {
      "type": "string",
      "maxLength": 45,
      "minLength": 1
    },
    "revision": {
      "type": "string",
      "maxLength": 7000,
      "minLength": 1
    }
  },
  "required": [
    "text",
    "revision"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "Software package",
  "revision": "Industry specific software package",
  "locale": "en"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "retained": {
          "type": "integer"
        },
        "removed": {
          "type": "integer"
        },
        "added": {
          "type": "integer"
        },
        "multiset_jaccard": {
          "type": "number"
        }
      },
      "required": [
        "retained",
        "removed",
        "added",
        "multiset_jaccard"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →