LOADING STUFF...

PHP字符串函数metaphone()的用法

技术教程15小时前发布 北陌
22 0 0

PHP字符串函数metaphone()的用法

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

© 版权声明

相关文章

暂无评论

暂无评论...