> 
Nora isn't on the list, but she points out:
>
> 
The text for the metaphone deprecation isn't fully right. It lists
> 
"linguistics" as a replacement package, but that one actually uses
> 
php-src's metaphone internally too. So it is affected by the
> deprecation, not a replacement.
>
> As demonstrated by:
>
&gt; <?php
&gt; require&nbsp;'vendor/autoload.php';
&gt; \Linguistics\Phonetics::metaphone('foo');


Thanks for noticing.


Worth noticing that only the Phonetics::metaphone function use php's
metaphone(). Also, that function is barely a bridge for applying
existent functions of PHP. All other advanced algorithms ain't affected
by the metaphone deprecation.


My point in deprecating it is to stop using ancient metaphone algo as a whole.
And Linguistics offers loads of implementation. So this is still a replacement.
However, I do see the reason to make this clear in the RFC text.


I also forward this to Nora.


- Weilin

Reply via email to