Skip to content

Extensions to the Ruby String class for calculating some string metrics.

License

Notifications You must be signed in to change notification settings

pem/string-metrics-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Extensions to the Ruby String class for calculating some string metrics:
- Levenshtein Distance
- Optimal String Alignment Distance or Restricted Edit Distance
  This is like Levenshtein Distance plus transposition.
- Damerau-Levenshtein Distance
- Longest common substring

References:
https://en.wikipedia.org/wiki/String_metric
https://en.wikipedia.org/wiki/Levenshtein_distance
https://en.wikipedia.org/wiki/Damerau-Levenshtein_distance
https://en.wikipedia.org/wiki/Wagner-Fischer_algorithm
https://en.wikipedia.org/wiki/Longest_common_substring_problem

About

Extensions to the Ruby String class for calculating some string metrics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages