I have a database of nouns (ex \"house\", \"exclamation point\", \"apple\") that I need to output and describe in my application. It\'s hard to put together a natural-soundi
I've written a PHP port of the popular JS a-vs-an code as described in this stackoverflow post https://stackoverflow.com/a/1288473/1526020.
Github page: https://github.com/UseAllFive/a-vs-an.
E.g.
$result = $aVsAn->query('0800 number');
print_r($result);
Returns
Array
(
[aCount] => 8
[anCount] => 25
[prefix] => 08
[article] => an
)