Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve imperative mood check using stemmer/wordlist #235
PR #155 was out of date - it preceded the rename to pydocstyle, conversion to a package, and dropping support for Python 3.2. Git merging was practically impossible so it has been abandoned.
Yes, I did it by scraping, but in a very large, proprietary codebase (tens of millions of lines), and I carefully groomed the resulting list, going from most common words downwards.
As mentioned in #155, this covered about 80% of real docstrings and was well into the long tail of words that might appear.