Registry / utility / levenshtein-ffi

levenshtein-ffi

JSON →
library1.1.0rbrubygemsunverified

Provides a fast, cross-Ruby implementation of the Levenshtein distance algorithm using FFI.

gem install levenshtein-ffi
INSTALL
IMPORT
SIG · LEVENSHTEIN-FFI
L
levenshtein-ffi
utilityrubyv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Levenshtein
require 'levenshtein-ffi'

Compute the Levenshtein distance between two strings.

require 'levenshtein-ffi' Levenshtein.distance('kitten', 'sitting') # => 3
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
levenshtein-ffi — gem install levenshtein-ffi · libregistry