text_comparison_score_codespark 0.0.1 text_comparison_score_codespark: ^0.0.1 copied to clipboard
The TextComparisonScore package is a straightforward and efficient tool for comparing two strings and calculating their similarity score using the Levenshtein distance algorithm. Ideal for tasks like [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.0.1] - 2024-08-09 #
Added #
- Initial release of the
text_comparison_score_codespark
package. - Implemented the
TextComparisonScore
class with the following features:matchPercentage(String s1, String s2)
: Returns the match percentage between two strings based on the Levenshtein distance algorithm.
- Provided comprehensive unit tests for various cases including identical strings, completely different strings, and comparisons involving empty strings.
- Detailed documentation and usage examples in the
README.md
. - License: MIT.