Open ProfJanetDavis opened 5 years ago
Seems indeed to be a Compromise bug. Something about the sentence structure makes Compromise think this is a contraction and not a possessive.
This is more obnoxious than I initially thought. Here are two more examples from the same page:
Here's another example, from https://medium.com/the-cut/bastard-9d475287a42a:
Describe the bug Some possessives are rewritten as if contractions with the word "is" or "has"
To Reproduce Steps to reproduce the behavior:
Expected behavior It should be a possessive, with `s.
Additional context There are tests in
grammar/cases.contractions.js
. "Bob's book" is fine; "Miéville's left-wing politics" is not.Apparently Compromise can't be trusted to expand contractions correctly in some cases. Since there are a limited number of contractions with 's I actually want to expand - those involving "he" or "she" - perhaps I should just take care of them individually.