text_comparison_score_codespark 0.0.2 text_comparison_score_codespark: ^0.0.2 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.
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.2] - 2024-08-13 #
Added #
- Added screenshots showcasing example code and output to the documentation for better understanding.
- Improved documentation with additional examples and explanations for various use cases of the
TextComparisonScore
class. - Updated
README.md
with a more detailed usage guide and visual aids. - Enhanced package performance and code quality with minor optimizations.
[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.