String distance and phonetic keys: Levenshtein, Jaro-Winkler, Soundex, Metaphone
text_similarityCompare two strings and return every standard similarity measure in one call: Levenshtein and Damerau-Levenshtein edit distance, normalised similarity, Jaro and Jaro-Winkler, longest common subsequence, Dice coefficient on character bigrams, and the Soundex, Metaphone and NYSIIS phonetic keys of each string. Optional case folding, accent folding and whitespace normalisation before comparison. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First string, at most 512 characters. Accepted: at most 512 characters. | |
| b | Yes | Second string, at most 512 characters. Accepted: at most 512 characters. | |
| fold | No | Comma-separated folds before comparing: case, accents, space, punct. Default case. Accepted: comma-separated subset of case, accents, space, punct. | |
| only | No | Comma-separated measure names to compute. Default all. Accepted: comma-separated measure names. |