{"category":"text","endpoint":"https://setget.net/v1/tools/levenshtein","examples":[{"input":{"a":"kitten","b":"sitting"},"output":{"distance":3,"length_a":6,"length_b":7,"similarity":0.5714}},{"input":{"a":"Color","b":"colour","case_sensitive":false},"output":{"distance":1,"length_a":5,"length_b":6,"similarity":0.8333},"title":"Ignoring case"}],"input_schema":{"additionalProperties":false,"properties":{"a":{"description":"The first string.","examples":["kitten"],"type":"string"},"b":{"description":"The second string.","examples":["sitting"],"type":"string"},"case_sensitive":{"default":true,"description":"Treat upper and lower case as different.","type":"boolean"}},"required":["a","b"],"type":"object"},"keywords":["levenshtein","edit distance","string similarity","string distance","typo","compare strings","fuzzy"],"related":["fuzzy-match","diff"],"slug":"levenshtein","summary":"Count the single-character edits needed to turn one string into another, with a similarity ratio.","tier":"inline","title":"Levenshtein distance","url":"https://setget.net/tools/levenshtein"}
