Find text reused from a supplied corpus
text.halowerk.com/v1/corpus-overlap
Find text reused from a supplied corpus: overlapping passages with character offsets in both texts, plus containment and Jaccard resemblance of word shingles per corpus document. Text reuse detection with word shingles (Broder 1997): text and corpus documents are segmented into words (Unicode, NFKC, lower case); every run of n words (default 5) is hashed (32-bit FNV-1a) and compared through a hash
POST
https://text.halowerk.com/v1/corpus-overlapUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://text.halowerk.com/v1/corpus-overlap", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"corpus":[{"id":"muster","text":"Diese Seite erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben, wenn Sie unseren Dienst nutzen."}],"text":"Die Datenschutzerklärung erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben."}),
});
console.log(await res.json());Example input
{
"corpus": [
{
"id": "muster",
"text": "Diese Seite erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben, wenn Sie unseren Dienst nutzen."
}
],
"text": "Die Datenschutzerklärung erläutert, wie wir personenbezogene Daten verarbeiten und welche Rechte Sie haben."
}