matecat/language-tools
Composer 安装命令:
composer require matecat/language-tools
包简介
Language Tools
README 文档
README
This library can be used to apply the correct language styling to a string.
Supported languages
- ja-JP (Japanese)
- zh-TW (Traditional Chinese)
Examples
Take a look at these few examples:
$wrong = "商号は「株式会社」等を省略せず記載してください (例:株式会社XXX) 。"; $pipeline = new Pipeline("ja-JP"); // this will return the string with the correct language style // 商号は「株式会社」等を省略せず記載してください(例:株式会社XXX)。 $correct = $pipeline->process($wrong);
In case of non-supported language, the Pipeline will return the original string.
Commands
If you have an application which uses Symfony Console, you have some commands available:
mlt:processProcess a string.
Support
If you found an issue or had an idea please refer to this section.
Authors
- Mauro Cassani - github
License
This project is licensed under the MIT License - see the LICENSE.md file for details
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-20