From: Joe Smith Date: 2010-09-28T04:37:47+09:00 Subject: Re: levenshtein function issue Chris Hulan wrote: > On Sep 26, 12:43�am, Joe Smith wrote: >> error... (that's why I had originally changed it) >> -- >> Posted viahttp://www.ruby-forum.com/. > > Looking at the description at http://www.levenshtein.net/ it appears > that both m and n should be +1 > The strings are then offset to allow indexing from 1. Guess you > either need to add a character (blank?) > to the beginning of both strings, or adjust your indexes into s and t > (the 1st char is the 0th index) > > I'm totally pulling this out of my head, as I don't have Ruby on my > work computer Thank you for the reply. Unfortunately, I get the same error when I try this :( -- Posted via http://www.ruby-forum.com/.