Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New stringmetric package #251

Merged
merged 3 commits into from
Jul 2, 2024
Merged

New stringmetric package #251

merged 3 commits into from
Jul 2, 2024

Conversation

nicolaasuni-vonage
Copy link
Collaborator

@nicolaasuni-vonage nicolaasuni-vonage commented Jul 2, 2024

Description

A new stringmetric package was added to provide functions to calculate string metrics,
also known as string similarity metrics or string distance functions.

A string metric measures the distance ("inverse similarity") between two text strings
for approximate string matching, comparison, and fuzzy string searching.

The function DLDistance calculates the Damerau-Levenshtein edit distance between two strings.
It provides the distance between two strings as the minimum number of operations required to change one string into the other.
The operations include insertions, deletions, substitutions, and transpositions of two adjacent characters.

Checklist:

  • The make x command has been run successfully without any error or warning.
  • Any new code line is covered by unit tests and the coverage has not dropped.
  • Any new code follows the style guidelines of this project.
  • The code changes have been self-reviewed.
  • Corresponding changes to the documentation have been made.
  • The version has been updated in the VERSION and examples/service/go.mod files.

Type of change:

  • Minor non-breaking change (e.g., bug fix, dependencies updates) → The patch number in the VERSION file has been increased.
  • New feature (non-breaking change which adds functionality) → The minor number in the VERSION file has been increased.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) → This requires a major version release.
  • Dependencies.
  • Automation.
  • Documentation.
  • Examples.
  • Testing.

@nicolaasuni-vonage nicolaasuni-vonage requested review from a team as code owners July 2, 2024 12:49
@coveralls
Copy link

coveralls commented Jul 2, 2024

Pull Request Test Coverage Report for Build 9761267360

Details

  • 67 of 67 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 9742187531: 0.0%
Covered Lines: 5954
Relevant Lines: 5954

💛 - Coveralls

Copy link

sonarqubecloud bot commented Jul 2, 2024

@coveralls
Copy link

coveralls commented Jul 2, 2024

Pull Request Test Coverage Report for Build 9761477222

Details

  • 67 of 67 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 9742187531: 0.0%
Covered Lines: 5954
Relevant Lines: 5954

💛 - Coveralls

@nicolaasuni-vonage nicolaasuni-vonage merged commit 2bf45eb into main Jul 2, 2024
12 checks passed
@nicolaasuni-vonage nicolaasuni-vonage deleted the pwdchk branch July 2, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants