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.

Usage

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

Contributing

Just send me a github pull request.