siteorigin/string-splitter
Composer 安装命令:
composer require siteorigin/string-splitter
包简介
Splits strings into separate words. Useful for domain names.
README 文档
README
A very simple library for splitting strings into separate words. It uses English word frequency data to guess the most likely combinations. The algorithm is fairly slow, so this is best suited to splitting short strings like domain names.
Installation
You can install the package via composer:
composer require siteorigin/string-splitter
Usage
$splitter = new SiteOrigin\StringSplitter\StringSplitter('expertsexchange'); var_dump($splitter->split()); // ['experts', 'exchange']
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-18