Hacker News new | ask | show | jobs
by nbeleski 2038 days ago
I wonder how the passive voice detection is done... could be useful for a colleague research of writting patterns.
1 comments

Incorrectly. It mistakes non-passive constructions for passive. For example, "The sailors are spent." is marked as passive despite not containing an action verb. It looks like it's just regexing on forms of "to be" followed by words ending in "ed" (perhaps also using a dictionary of some irregulars)?