Projects
View on GitHub
delonnewman/mini-levenshtein
delonnewman/mini-levenshtein has 28 GitHub stars and 0 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 18:50 UTC. Last push 2026-06-23.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Simple, fast Levenshtein distance and similarity ratio for Ruby
Developer ToolsREADME.md
OriginalMiniLevenshtein
Simple, fast, levenshtein distance and similarity ratio for Ruby
Synopsis
MiniLevenshtein.edit_distance("levenshtein", "levenstien") # => 3
MiniLevenshtein.similarity("levenshtein", "levenstien") # 0.857142...
Why?
While there are many levenshtein distance implementations for Ruby, none provided a means to adjust edit scoring to make the calcuations suitable for a similarity ratio.
See Also
Credits
Ruby Bindings
Delon Newman [email protected]
Original C Code
- David Necas (Yeti) [email protected]
- Atakan Gurkan
- James Theiler
- Brian Gough
(see ext/mini_levenshtein/levenshtein.c for more)
License
The gem is available as open source under the terms of the GPL.