← Market

Semantic Diff

Compare two versions of a text by meaning: aligns sentences across versions with multilingual embeddings, then reports unchanged, modified (with word diff), moved, added and removed sentences and flags changed numbers, negations and modal verbs. Both versions are split into sentences (Unicode segmentation plus CLDR abbreviations). Identical sentences are aligned first by a longest common subsequence (Myers 1986); identical sentences outside that sequence count as moved.

POST https://text.halowerk.com/v1/semantic-diff

0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "new_text": "Die Laufzeit beträgt zwölf Monate. Der Preis beträgt 59 Euro im Monat. Gerichtsstand ist Berlin.",
  "old_text": "Die Laufzeit beträgt zwölf Monate. Der Preis beträgt 49 Euro im Monat."
}
{
  "limitations": [
    "Sentence-level alignment; changes that merge or split sentences appear as a modified pair plus an added or removed sentence.",
    "Embedding similarity is not a check of legal or factual equivalence; read the flagged changes."
  ],
  "result": {
    "changes": [
      {
        "changed_tokens": 2,
        "kind": "modified",
        "meaning_flags": [
          {
            "kind": "numbers_changed",
            "new": [
              "59"
            ],
            "old": [
              "49"
            ]
          }
        ],
        "new": {
          "end": 70,
          "index": 1,
          "start": 35,
          "text": "Der Preis beträgt 59 Euro im Monat."
        },
        "old": {
          "end": 70,
          "index": 1,
          "start": 35,
          "text": "Der Preis beträgt 49 Euro im Monat."
        },
        "similarity": 0.945,
        "word_diff": [
          {
            "op": "equal",
            "text": "Der Preis beträgt"
          },
          {
            "op": "delete",
            "text": "49"
          },
          {
            "op": "insert",
            "text": "59"
          },
          {
            "op": "equal",
            "text": "Euro im Monat ."
          }
        ]
      },
      {
        "kind": "added",
        "new": {
          "end": 96,
          "index": 2,
          "start": 71,
          "text": "Gerichtsstand ist Berlin."
        }
      }
    ],
    "method": "Myers LCS of identical sentences, greedy cosine pairing of the rest (E5), token-level Myers diff and feature flags",
    "model": {
      "description": "Multilingual E5 small (Wang et al. 2024), mean pooling, int8 ONNX export from the model repository",
      "license": "MIT",
      "max_tokens": 512,
      "onnx": "onnx/model_qint8_avx512_vnni.onnx",
      "repo": "intfloat/multilingual-e5-small",
      "revision": "614241f622f53c4eeff9890bdc4f31cfecc418b3",
      "source": "https://huggingface.co/intfloat/multilingual-e5-small/tree/614241f622f53c4eeff9890bdc4f31cfecc418b3"
    },
    "model_tokens": 37,
    "summary": {
      "added": 1,
      "meaning_flags": 1,
      "modified": 1,
      "moved": 0,
      "new_sentences": 3,
      "old_sentences": 2,
      "removed": 0,
      "unchanged": 1
    }
  },
  "service": "semantic-diff",
  "status": "success"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://text.halowerk.com/v1/semantic-diff · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "old_text",
    "new_text"
  ],
  "properties": {
    "old_text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60000
    },
    "new_text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60000
    },
    "min_similarity": {
      "type": "number",
      "minimum": 0.5,
      "maximum": 0.99,
      "default": 0.9
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://text.halowerk.com/v1/semantic-diff' \
  -H 'content-type: application/json' -d '{"old_text":"Die Laufzeit beträgt zwölf Monate. Der Preis beträgt 49 Euro im Monat.","new_text":"Die Laufzeit beträgt zwölf Monate. Der Preis beträgt 59 Euro im Monat. Gerichtsstand ist Berlin."}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)