{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Implements a dozen string similarity and distance algorithms including Levenshtein, Jaro-Winkler, Longest Common Subsequence, and cosine similarity for comparing text strings.","skillfed_tags":["string-algorithms","text-analysis"],"use_cases":["Detect typos and suggest corrections by finding the most similar string from a dictionary using Jaro-Winkler","Implement a fuzzy search feature that matches user input against product names or database records despite spelling variations","Compare file contents or code diffs by computing Longest Common Subsequence distance","Build a deduplication system that identifies near-duplicate records in a dataset using normalized Levenshtein","Analyze OCR output by using weighted Levenshtein to account for character-specific error costs"],"what_it_does":"strsimpy is a Python port of a Java string-similarity library that provides implementations of multiple string comparison algorithms. It lets you measure how similar or different two strings are using different mathematical approaches\u2014some compute edit distance (how many character changes are needed), others use n-gram profiles or set-based metrics. Each algorithm has different trade-offs: some are normalized to 0\u20131 ranges, some satisfy the triangle inequality property useful for indexing, and some are optimized for specific tasks like typo correction or diff utilities.\n\nYou import an algorithm class, instantiate it, and call its similarity() or distance() method on two strings. The library includes Levenshtein variants (standard, normalized, weighted, Damerau), Jaro-Winkler, Longest Common Subsequence, n-gram based methods (Q-Gram, cosine, Jaccard, Sorensen-Dice, overlap), and experimental SIFT4. It has no external dependencies and installs as a pure Python wheel.","worth_installing":"Yes, if you need string similarity algorithms and can accept an abandoned package. The library is stable, has no known vulnerabilities, low install friction, and covers a comprehensive range of algorithms. However, do not install if you require active maintenance, bug fixes, or support for Python versions beyond 3.9\u2014the last release was 2021-09-10 with no commits since November 2022."},"id":"strsimpy","links":{"html":"https://skillfed.io/packages/strsimpy","md":"https://skillfed.io/packages/strsimpy.md","pypi":"https://pypi.org/project/strsimpy/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-09-10","license_spdx":null,"license_treatment":"permissive","name":"strsimpy","python_support":"unspecified","summary":"A library implementing different string similarity and distance measures"},"popularity":{"monthly_downloads":513251,"position":6248,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
