
metaphone
(PHP 4, PHP 5)
metaphone — Calculate the metaphone key of a string
说明
string metaphone
( string $str
[, int $phonemes = 0
] )
Calculates the metaphone key of str.
Similar to soundex() metaphone creates the same key for
similar sounding words. Its more accurate than
soundex() as it knows the basic rules of English
pronunciation. The metaphone generated keys are of variable length.
Metaphone was developed by Lawrence Philips
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...