lewis-dun / indefinite-article
为单词前添加不定冠词的语法实用工具
1.1.0
2022-06-21 13:45 UTC
Requires
- php: ^5.6 || ^7.0 || ^8.0
Requires (Dev)
- phpstan/phpstan: ^1
- phpunit/phpunit: ^7 || ^8 || ^9
This package is auto-updated.
Last update: 2024-09-21 19:00:15 UTC
README
这是Lingua::EN::Inflect Perl模块的A()子程序的PHP端口。
最佳使用方式是与Composer一起使用:php composer.phar require thaumatic/indefinite-article
然后你可以使用use Thaumatic\IndefiniteArticle;
和 echo 'This is ' . IndefiniteArticle::a('test');
原始模块版权 (c) 1997-2009 Damian Conway。 http://search.cpan.org/dist/Lingua-EN-Inflect/lib/Lingua/EN/Inflect.pm
之前由Niko Salminen (http://nikosalminen.com) 调整
进一步工作由Thaumatic Systems, LLC (http://thaumatic.com) 完成