Popularity
5.3
Stable
Activity
0.0
Stable
60
4
7

Monthly Downloads: 3,677
Programming language: Elixir
License: ISC License
Tags: Text And Numbers    
Latest version: v0.2.0

simetric alternatives and similar packages

Based on the "Text and Numbers" category.
Alternatively, view simetric alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of simetric or a related project?

Add another 'Text and Numbers' Package

README

Simetric

Build Status Hex Version

Simetric provides facilities to perform approximate string matching and measurement of string similarity/distance. The library is focusing on speed and completeness.

Available metrics

Installation

Add Simetric as a dependency to your mix.exs file:

defp deps do
  [{:simetric, "~> 0.2.0"}]
end

Then, run mix deps.get in your shell to fetch the new dependency.

Usage

Jaro–Winkler:

Simetric.Jaro.Winkler.compare("dwayne", "duane") # => 0.8400000000000001
Simetric.Jaro.Winkler.compare("hardin", "martinez") # => 0.7222222222222222
Simetric.Jaro.Winkler.compare("same", "same") # => 1.0

Levenshtein:

Simetric.Levenshtein.compare("gumbo", "gambol") # => 2
Simetric.Levenshtein.compare("kitten", "sitting") # => 3

License

Simetric is released under [the ISC license](LICENSE).


*Note that all licence references and agreements mentioned in the simetric README section above are relevant to that project's source code only.