Skip to content

ksev/txtdist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

txtdist

A library for mesuring the distance between two strings.

Currently has the Damerau-Levenschtein and Levenschtein algorithm, so only two functions.

extern crate txtdist;
use txtdist::damerau_levenshtein;

let distance = damerau_levenshtein("some string", "some other string");
assert_eq!(distance, 6)

About

Small utility crate for calculating the distance between two strings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages