php-speller:PHP拼写检查库

时间:2021-05-05 15:48:24
【文件属性】:
文件名称:php-speller:PHP拼写检查库
文件大小:51KB
文件格式:ZIP
更新时间:2021-05-05 15:48:24
php spelling aspell hunspell ispell php-speller PHP拼写检查库。 当前支持的后端: ; ; 。 安装 使用 : $ composer require mekras/php-speller 用法 使用Mekras\Speller\Source\Source实现之一从字符串,文件或其他内容创建文本源对象(请参见下面的 )。 创建一些拼写器实例(Hunspell,Ispell或Mekras\Speller\Speller任何其他实现)。 执行Speller::checkText()方法。 use Mekras \ Speller \ Hunspell \ Hunspell ; use Mekras \ Speller \ Source \ StringSource ; $ source = new StringSource ( 'Tiger, tigr, burning bright' ); $
【文件预览】:
php-speller-master
----src()
--------Ispell()
--------Exception()
--------Speller.php(1KB)
--------Aspell()
--------Source()
--------Helper()
--------Hunspell()
--------Dictionary.php(705B)
--------ExternalSpeller.php(6KB)
--------Issue.php(1KB)
----examples()
--------spellcheck.php(3KB)
----LICENSE(1KB)
----README.md(6KB)
----tests()
--------Unit()
--------Functional()
----CHANGELOG.md(3KB)
----composer.json(1KB)

网友评论