delonnewman/mini-levenshtein
Simple, fast Levenshtein distance and similarity ratio for Ruby
This helps Ruby developers compare how different two text strings are, or how similar they are. You input two strings of text, and it outputs a numerical score indicating either the 'distance' (number of edits to transform one into the other) or a 'similarity ratio' (a percentage of how alike they are). This is for Ruby developers who need to perform string comparisons in their applications.
No commits in the last 6 months.
Use this if you are a Ruby developer needing a simple and fast way to calculate Levenshtein distance or a similarity ratio between two strings.
Not ideal if you are not a Ruby developer or need more advanced string comparison algorithms beyond Levenshtein distance.
Stars
28
Forks
—
Language
C
License
GPL-2.0
Category
Last pushed
Dec 08, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/delonnewman/mini-levenshtein"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ikawaha/kagome-dict
Dictionary Library for Kagome v2
aaaton/golem
A lemmatizer implemented in Go
habeanf/yap
Yet Another (natural language) Parser
clipperhouse/uax29
A tokenizer based on Unicode text segmentation (UAX #29), for Go. Split graphemes, words, sentences.
abadojack/whatlanggo
Natural language detection library for Go