lewis-dun/indefinite-article

Grammatical utility for prepending an indefinite article to a word

Maintainers

Package info

github.com/LewisDun/indefinite-article

pkg:composer/lewis-dun/indefinite-article

Statistics

Installs: 2 635

Dependents: 0

Suggesters: 0

Stars: 0

1.1.0 2022-06-21 13:45 UTC

This package is auto-updated.

Last update: 2026-03-21 22:31:58 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)