Appends an "n"
to the indefinite article "a" if required by English language rules.
Details
Note that this function only covers part of all cases where "an" instead of "a" is indicated. Since the choice of a or an depends on sound, not spelling, it's not trivial to implement a universal solution.
For example, this function doesn't properly append an "n"
to the indefinite article in the following situations:
A word starting with the letter "u" where it is pronounced as a vowel, e.g. unhappy. Note that most English words starting with letter "u" are pronounced differently like universum and thus require the indefinite article a, not an.
A word starting with a consonant that is pronounced as a vowel, e.g. hour.
See also
Other spoken language functions:
add_definite_article_de()
,
decline_noun_de()
,
definite_article_de()
,
definite_article_de_declined()
,
phrase_datetime()
,
prettify_date()
,
prettify_datetime()
,
rank_nr()
,
write_out_n()