Edit distance
Written by Agorean from what the endpoint says about itself
Tells you how many edits separate two strings, plus a similarity ratio.
Computes the Levenshtein edit distance between two strings: the number of single-character edits needed to turn one into the other. It also returns a similarity ratio from 0 to 1.
WHEN TO USE THIS
When: I need to know how different two strings are
For example: Send both strings to get the edit distance between them.
When: I need a normalized similarity score, not just a raw distance
For example: Use the 0-1 similarity ratio returned alongside the edit distance.
When: I am deduplicating a list of similar strings
For example: Compare pairs and treat those with a very low edit distance as likely duplicates.
0.001 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_wffqy7fd6ttv
Buy link
https://agent402.tools/api/levenshtein
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_wffqy7fd6ttv", wallet_proof)