0
An algorithm for an article
Hi, I need an algorithm for calculating the indefinite article for an English noun. Ape => an ape Unicorn => a unicorn X-ray => an X-ray
1 Réponse
+ 5
Jegors Čemisovs , just follow the rules how to select "a" or "an" in English. Check what is the first letter of the string and depending on that add the appropriate article.