obophenotype / brain_data_standards_ontologies

A repository for co-ordinating work on ontologies for the Brain Data Standards Project
Apache License 2.0
10 stars 3 forks source link

An/A in definition #134

Open shawntanzk opened 3 years ago

shawntanzk commented 3 years ago

When looking at description at the workshop, Paola spotted an error that she said could be fixed relatively easily.

Currently our DOSDP pattern starts everything with "A" (eg "A oligodendrocyte...") when at times it should be an (eg "An oligodendrocyte). Paola mentioned that we should be able to write in the DOSDP pattern to use "An" when the starting letter of the next word is a vowel.

hkir-dev commented 3 years ago

Inflect can handle this.

But in the dosdp pattern, we should be able to tag/annotate the indefinite article to be automatically manipulated. Or we can automatically apply this to all articles that exists before variables.