Laurent PETIT <laurent.pe...@gmail.com> writes:

Hi Laurent,

> Was playing with levenshtein (argh, where do I place the h -sorry
> mister levenshtein-), and thougth it could be interesting to share my
> current result here, to get some feedback.

Looks really concise.  Nice!

> The following version works with any seq-able (not only Strings), but
> hardwires function = for equality testing of seq values (rather good
> default IMHO), but also hardwires the cost of 1 for either element
> insertion, deletion, or swap.

Isn't "swap" (aka replace) usually considered a deletion followed by an
insertion, and thus with costs 2?

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to