Dice and Jaccard n-gram overlap of two texts by character or word, as sets and a...
https://text-similarity.x402tookit.com/ngram-overlapOverview
Dice and Jaccard n-gram overlap of two texts by character or word, as sets and as multisets.
Protocol
x402
Price
$0.02
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Text Similarity
Source
bazaar
Indexed
2026-10-20 21:22:34
Health
Status
healthy
Latency (p50)
516ms
Uptime (30d)
92.9%
Reliability Score
86.4/100
Last Checked
2026-10-28 06:42:06
Last Healthy
2026-10-28 06:42:06
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"a": "night",
"b": "nacht",
"n": 2
},
"type": "http"
}
Output Schema
{
"example": {
"asOf": "2026-10-12T00:50:08.198Z",
"degraded": false,
"diceMultiset": 0.25,
"diceSet": 0.25,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"distinctA": 4,
"distinctB": 4,
"gramsA": 4,
"gramsB": 4,
"ignoreCase": true,
"jaccardMultiset": 0.1429,
"jaccardSet": 0.1429,
"n": 2,
"notChecked": [
"no padding with boundary markers: grams do not wrap the text edges",
"meaning and word order beyond the gram window",
"…1 more"
],
"reasons": [
"Set scores count each distinct gram once; multiset scores count repeats (Dice 2*shared/(grams A + grams B) with shared = sum of minimum counts; Jaccard = sum of minimums / sum of maximums). HIGH_OVERL…"
],
"sharedDistinct": 1,
"source": "computed locally (Sorensen 1948, Dice 1945, Jaccard 1901)",
"summary": "char 2-grams: Dice 0.25, Jaccard 0.1429 on sets (1 shared of 4 and 4 distinct).",
"unit": "char",
"verdict": "PARTIAL_OVERLAP"
},
"type": "json"
}