text_comparison_score_codespark 0.0.4
text_comparison_score_codespark: ^0.0.4 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.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.