thaumatic / indefinite-article
Grammatical utility for prepending an indefinite article to a word
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: ^5.6 || ^7.0
Requires (Dev)
This package is auto-updated.
Last update: 2023-12-19 09:59:03 UTC
README
This is a PHP port of the Lingua::EN::Inflect Perl module's A() subroutine.
The best way to use it is with Composer: php composer.phar require thaumatic/indefinite-article
Then you can use Thaumatic\IndefiniteArticle;
and echo 'This is ' . IndefiniteArticle::a('test');
Original module Copyright (c) 1997-2009 Damian Conway. http://search.cpan.org/dist/Lingua-EN-Inflect/lib/Lingua/EN/Inflect.pm
Previous adaptation by Niko Salminen (http://nikosalminen.com)
Further work by Thaumatic Systems, LLC (http://thaumatic.com)