Project

bmatch

0.0
No commit activity in last 3 years
No release in over 3 years
Provides string similarity functions like levenshtein distance or dice's coefficient as native extensions.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.10
>= 0
~> 3.3

Runtime

~> 1.9
 Project Readme

bmatch

Build Status Gem Version

Approximate string matching library (with native bindings)

Inspired by

Levenshtein implementation taken from: https://github.com/arbovm/levenshtein

Why

Because amatch unfortunately produces segfaults. I hope golang-to-C doesn't do that.

Issues

Usage

  require 'bmatch/similarities'
  Similarities.levenshtein_distance("aa", "aĆ¼")
  Similarities.dice_similarity("night", "nacht")

Contributing

Just send me a github pull request.