You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
re (reuse, reindex)
un (undelete, unskip)
pre (prebuilt, preinitialize)
Additional Context
It's probably a good idea to check for:
Base verb (this is implemented)
Prefix + dash + verb
Prefix + verb
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: