text_comparison_score_codespark 0.0.1 copy "text_comparison_score_codespark: ^0.0.1" to clipboard
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.
4
likes
0
pub points
49%
popularity

Publisher

verified publisherksaikiran.site

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 spell-checking and data deduplication, it returns a match percentage between 0% (no similarity) and 100% (identical), making it a practical solution for a wide range of text comparison applications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on text_comparison_score_codespark