On 8/24/07, Xavier Noria <[EMAIL PROTECTED]> wrote:
> On Aug 24, 2007, at 8:13 PM, Dr.Ruud wrote:
>
> > "Chas Owens" schreef:
> >
> >> [$db_initiali.ed]
> >> Unless you have some funky source filter installed that normalizes
> >> spelling variants Perl is going to have a problem.
> >
> > Yes, I like the idea:
> >
> >   use autocorect;
>
> I think there's an Acme:: module that did something like that, it
> used some heuristic (edit distance or whatever) and chose an already
> existing indentifier. Something like that. But I can't find it.

I remember something about it as well (using a map of UK->US and
Levenshtein distance to catch typos), but can't find anything in CPAN
either.  Thankfully Damian is busy with Perl 6 or he might write it.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to