프로젝트
GitHub에서 보기
delonnewman/mini-levenshtein
소개
Simple, fast Levenshtein distance and similarity ratio for Ruby
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.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.
관련 프로젝트 살펴보기
불러오는 중…