errata-ai / Google

A Vale-compatible implementation of the Google Developer Documentation Style Guide.
MIT License
69 stars 23 forks source link

Past Progressive Tense Incorrectly Flagged as Passive Voice #21

Open redsoxfan0219 opened 2 years ago

redsoxfan0219 commented 2 years ago

Thanks for the great product! I have a small bug to point out.

When run with the Google Style package, Vale incorrectly flags the past progressive tense (was/were + verb root + -ing suffix) as passive voice. Without having checked the source code, I assume this is because "passive voice" is coded as any past tense form of "to be" + any verb form.

Example: "Yesterday, I was walking to the park." Vale will return suggestion In general, use active voice Google.Passive instead of passive voice ('was walked').

IMO this is a pretty small bug, because we don't typically use the past progressive tense in technical documentation. But it's nevertheless incorrect to flag was/were + verb root + -ing suffix as passive voice.