timotheecour / Nim

Nim is a compiled, garbage-collected systems programming language with a design that focuses on efficiency, expressiveness, and elegance (in that order of priority).
http://nim-lang.org/
Other
2 stars 0 forks source link

misc std/editdistance #397

Open timotheecour opened 3 years ago

timotheecour commented 3 years ago
timotheecour commented 3 years ago
ringabout commented 3 years ago

I could implement first task. Simple reference implementation: https://www.guyrutenberg.com/2008/12/15/damerau-levenshtein-distance-in-python/

I have ported this simple one: https://gist.github.com/xflywind/bef5b8626076463f4226cd9f20a3d0e7

Find a better article: https://www.lemoda.net/text-fuzzy/damerau-levenshtein/index.html

timotheecour commented 3 years ago

that would be great, happy to look at drafts in a branch A few notes:

ringabout commented 2 years ago

see https://github.com/nim-works/nimskull/pull/206