{"uid":"cap_TvA2g10Wog9l55_j6nkNz","slug":"damerau-levenshtein-scorer-5df01a49","name":"Damerau-Levenshtein Scorer","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/nexus/api/v1/damerau-levenshtein-scorer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text_a":{"type":"string"},"text_b":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pXZltbLEiOprPGLZCF8Zk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Damerau-Levenshtein edit distance score between two input strings","exampleAgentPrompt":"What's the Damerau-Levenshtein distance score between 'kitten' and 'sitten' — I need to know how many edits apart they are including transpositions?","exampleUseCases":[{"title":"Typo detection in user input","prompt":"Can you check how similar 'recieve' is to 'receive' using Damerau-Levenshtein scoring so I know if it's a likely typo?"},{"title":"Fuzzy name deduplication pipeline","prompt":"I have two customer name strings 'Jon Smith' and 'John Smyth' — score their edit distance so I can decide if they're duplicates in my database."},{"title":"Password similarity enforcement","prompt":"Score the edit distance between a user's old password 'P@ssw0rd1' and their new one 'P@ssw0rd2' to check if they're too similar to allow."}],"resultDescription":"Returns a JSON object with a 'result' field containing the computed Damerau-Levenshtein score and a 'status' field confirming success. The score reflects the minimum number of single-character edits (insertions, deletions, substitutions, and transpositions) needed to transform text_a into text_b.","failureModes":["Missing or null text_a or text_b fields — likely returns error or unexpected result","Very long strings may increase latency or hit size limits","Non-string inputs may cause parsing errors","Network timeout if the service is under load","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need an edit distance metric that includes transpositions (swapping adjacent characters) as a primitive operation, which standard Levenshtein does not support. It is ideal for typo detection, fuzzy deduplication, spell-check scoring, and any NLP pipeline where transpositions are linguistically meaningful. Prefer over Levenshtein when detecting common keyboard transposition errors like 'teh' vs 'the'.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:05:11.217Z","isFirstParty":false}