← Back to directory

Compare two versions of a text by meaning: aligns sentences across versions with...

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

Overview

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.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider text
Source bazaar
Indexed 2026-11-21 08:10:21

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "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." }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "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" }, "type": "json" }