proselint icon indicating copy to clipboard operation
proselint copied to clipboard

Improvements to garner.a_vs_an

Open suchow opened this issue 9 years ago • 2 comments

  • [ ] Handle acronyms (e.g., "a FBI investigation"), but take into account acronyms that are pronounced as words instead of as their component letters.
  • [ ] Better handle words that aren't in the pronunciation dictionary. Right now, they are never flagged (e.g., "an European country").

suchow avatar Feb 25 '15 19:02 suchow

I wasn't able to find the garner.a_vs_an rule anywhere. Has it been renamed?

alexyorke avatar Jul 27 '16 01:07 alexyorke

No, it was temporarily removed because it depended on the natural language processing toolkit, a dependency that we didn't want to keep. Reintroducing it will require having access to the CMU pronunciation dictionary, which is doable but will take a little work unless there is a Python package already available.

suchow avatar Jul 27 '16 02:07 suchow