noodlesnz/double-metaphone
最新稳定版本:1.0.1
Composer 安装命令:
composer require noodlesnz/double-metaphone
包简介
This class implements a "sounds like" algorithm developed by Lawrence Philips which he published in the June, 2000 issue of C/C++ Users Journal. Double Metaphone is an improved version of Philips' original Metaphone algorithm.
README 文档
README
double-metaphone
This class implements a "sounds like" algorithm developed by Lawrence Philips which he published in the June, 2000 issue of C/C++ Users Journal. Double Metaphone is an improved version of Philips' original Metaphone algorithm.
Installation
To add this package as a local, per-project dependency to your project, simply add a dependency on NoodlesNZ/double-metaphone to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on double-metaphone:
{
"require": {
"NoodlesNZ/double-metaphone": "~1.0"
}
}
Usage
$d = new DoubleMetaphone('richard'); echo $d->primary . "\n"; echo $d->secondary . "\n";
The code above yields the output below:
RXRT
RKRT
统计信息
- 总下载量: 135.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-04-08