git-sumi should detect imperatives with prefixes. For example, "write" is in the list of non-imperative verbs (as "written", "wrote"), but "rewrite" is not.
Motivation
It would improve non-imperative-verb detection.
Detailed Description
The logic to detect imperative verbs should not only match the first word against the hashset, but check whether it matches a list of prefixes + a word in the list.
As an initial list of prefixes, we could consider:
Feature Request
Summary
git-sumi
should detect imperatives with prefixes. For example, "write" is in the list of non-imperative verbs (as "written", "wrote"), but "rewrite" is not.Motivation
It would improve non-imperative-verb detection.
Detailed Description
The logic to detect imperative verbs should not only match the first word against the hashset, but check whether it matches a list of prefixes + a word in the list.
As an initial list of prefixes, we could consider:
Additional Context
It's probably a good idea to check for: