glam-lab / degender-the-web

A Chrome extension that replaces all gendered pronouns with "they/them/their."
GNU Affero General Public License v3.0
6 stars 3 forks source link

Possessive pronouns are not correctly replaced in the subject position #93

Open ProfJanetDavis opened 5 years ago

ProfJanetDavis commented 5 years ago

Steps to reproduce:

  1. Go to https://www.answers.com/Q/5_example_of_sentences_using_the_pronoun_his
  2. Scroll down to "Possessive pronoun examples"
  3. See "Their is the best entry in the contest."

Expected behavior: It should say "Theirs is the best entry in the contest."

Screenshot: Screen Shot 2019-09-14 at 2 48 50 PM

Additional context: There is are two pending grammar tests for this issue in cases.pronoun-forms.js.

It seems to be a bug in Compromise which I cannot see how to work around. Verbs are incorrectly tagged as nouns, probably because the possessive pronoun is incorrectly tagged as a possessive adjective.