Re: [RFC][VOTE] Add mb_levenshtein function

From: Date: Mon, 10 Mar 2025 08:25:43 +0000
Subject: Re: [RFC][VOTE] Add mb_levenshtein function
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
>
> 2025年3月8日(土) 19:06 Niels Dossche <[email protected]>:
> >
> > On 08/03/2025 03:30, youkidearitai wrote:
> > > Hi, Internals
> > >
> > > The add mb_levenshtein  was end and declined.
> > > Vote result is one yes and 5 no.
> > >
> > > Thank you very much voting.
> > >
> > > By the way, This message is means add grapheme_levenshtein instead of
> > > mb_levenshtein?
> > > Or nothing to do?
> > > Feel free to comment.
> > >
> > > Thank you again.
> > > Yuya.
> > >
> >
> > Hi Yuya
> >
> > I think an RFC for grapheme_levenshtein would be better, it would have
> my vote at least.
> > Levenshtein makes more sense on graphemes than on unicode codepoints.
> >
> > Kind regards
> > Niels
>
> Hi, Niels
>
> Thank you very much for reply.
> Okay. I will go to grapheme_levenshtein RFC.
>
> Kind regards
> Yuya
>
>
On my side, I'm not sure this would make sense.
There's a PHP implementation of the levenshtein algo:
https://packagist.org/packages/oefenweb/damerau-levenshtein

This might be good enough. Better leave clustering (graphemes/etc) as a
separate concern. Did you consider this option?

Nicolas


Thread (4 messages)

« previous php.internals (#126686) next »