vickumar1981 / stringdistance

A fuzzy matching string distance library for Scala and Java that includes Levenshtein distance, Jaro distance, Jaro-Winkler distance, Dice coefficient, N-Gram similarity, Cosine similarity, Jaccard similarity, Longest common subsequence, Hamming distance, and more..
https://vickumar1981.github.io/stringdistance/api/com/github/vickumar1981/stringdistance/index.html
Other
75 stars 15 forks source link

Generalize StringDistance to ArrayDistance #29

Closed vickumar1981 closed 4 years ago

vickumar1981 commented 5 years ago

Provide a more general interface that works with Array[T] where T is an arbitrary type.

String is the specific case of an Array[Char], and most of the underlying implementations can still work with more generalized vectors.

vickumar1981 commented 4 years ago

Initial implementation: https://github.com/vickumar1981/stringdistance/pull/44

vickumar1981 commented 4 years ago

Included in version 1.2.0