Giter VIP home page Giter VIP logo

Comments (8)

mristin avatar mristin commented on June 29, 2024

Hi @pschanely ,
Actually, many of the exceptions on your list are already in the main whitelist: https://github.com/mristin/opinionated-commit-message/blob/master/src/mostFrequentEnglishVerbs.ts

(I spotted at least "disable", "redo", "standardize" and "realize".)

Are you sure you had to add these verbs to the list? I'm actually suspecting a bug on the opinionated-commit-message side.

So far, I observed very little additional verbs in the other projects, but that can be due to the fact that most or all contributors were non-native speakers and thus had a limited vocabulary.

from opinionated-commit-message.

mristin avatar mristin commented on June 29, 2024

Let me at least please first add the verbs from your list so that other users can benefit in the meanwhile.

from opinionated-commit-message.

mristin avatar mristin commented on June 29, 2024

@pschanely I've just released 2.3.2 with your exceptions included: https://github.com/mristin/opinionated-commit-message/releases/tag/v2.3.2.

Could you please try to test it on your side (or let me know if I should have a look)? Perhaps you kept adding verbs to the whitelist though they were already whitelisted?

from opinionated-commit-message.

pschanely avatar pschanely commented on June 29, 2024

Yeah, I think I just got into the habit of adding everything because I kept hitting new ones. It could also be that I'm just extra creative with phrasing. I'll update and see how it goes - thanks.

from opinionated-commit-message.

pschanely avatar pschanely commented on June 29, 2024

Quick follow up: sadly, I seem to keep hitting new ones. (example - though at least one of these is a mis-spelling!)

Looks like pydocstyle uses a real english stemmer, which might be another idea to consider someday.

from opinionated-commit-message.

mristin avatar mristin commented on June 29, 2024

Hi @pschanely ,
Thanks for the suggestion! If I understood PyCQA/pydocstyle#235 correctly, they also just used a whitelist, didn't they? I have some experience in NLP (though limited, and things definitely changed since I worked in it) -- context-free stemmers for English are usually indeed whitelists as the language is too irregular for anything else.

Are these the only false negatives you encountered or are there more? If there were more, would you mind creating an issue and listing them so that I could add them to the whitelist? Otherwise, I'll just insert the ones from https://github.com/pschanely/CrossHair/actions/runs/1168073763 and https://github.com/pschanely/CrossHair/blob/master/additional-verbs-in-imperative-mood.txt.

from opinionated-commit-message.

mristin avatar mristin commented on June 29, 2024

(I'm reopening the issue to give it more visibility.)

from opinionated-commit-message.

mristin avatar mristin commented on June 29, 2024

Closing the issue for no activity in a while.

from opinionated-commit-message.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.