text_comparison_score_codespark 0.0.5
text_comparison_score_codespark: ^0.0.5 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.5 - 2024-08-25 #
Added #
- Added the
Jaro-Winkler Distancealgorithm to theTextComparisonScoreclass.- This algorithm provides a string similarity score with more favorable ratings for strings that share a common prefix.
- Added support for comparing strings using Jaro-Winkler Distance and calculating match percentage.
- Updated
README.mdwith usage examples and details on when to use the Jaro-Winkler algorithm.
0.0.4 - 2024-08-13 #
Added #
- Added
caseSensitiveparameter tomatchPercentagemethod for optional case sensitivity in string comparison. - Updated
_levenshteinDistancemethod to handle case sensitivity based on thecaseSensitiveparameter.
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
TextComparisonScoreclass. - Updated
README.mdwith 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_codesparkpackage. - Implemented the
TextComparisonScoreclass 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.
