Code Monkey home page Code Monkey logo

Comments (5)

adambair avatar adambair commented on August 19, 2024

No, not at all. This is totally a bug. Is this new or has it always been this way -- I accepted a pull request which modified the dictionary which may have introduced this -- I'll check it out and see what's up.

from profanity_filter.

ngan avatar ngan commented on August 19, 2024

I'm on gem version 0.0.2. Not sure if it's new or not.

from profanity_filter.

adambair avatar adambair commented on August 19, 2024

I released 0.1.1 last week, let me know if you still have trouble after the upgrade (or if need it to work in this specific version).

from profanity_filter.

ngan avatar ngan commented on August 19, 2024

Yea, I saw the new versions, but haven't had time to upgrading. But I also noticed that two changes (from the two versions diff) doesn't touch the process of checking word's profanity at all. The problem is the regex: \W considers ' as non-word, so he'll gets turned into hell. I think the best thing is to use \s to swallow just spaces instead.

from profanity_filter.

ngan avatar ngan commented on August 19, 2024

Any update on this?

from profanity_filter.

Related Issues (5)

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.