Giter VIP home page Giter VIP logo

Comments (8)

kingthorin avatar kingthorin commented on September 5, 2024 1

Did you truncate the method name on purpose? Shouldn't it be obscenity?

Anyway yes I support this idea.

Though I (we) would have zero ability to review other languages.

Also we should keep in mind (perhaps even document) that while some words/phrases are just "bad" some are truly hateful/hurtful and that's hard to nail down (even in languages that you are familiar with).

from datafaker.

kingthorin avatar kingthorin commented on September 5, 2024 1

Good point, it is also a perfect case for a custom faker with their own yaml or whatever.

from datafaker.

bodiam avatar bodiam commented on September 5, 2024

Just a word of caution: we recently had a production issue with another faker library which was generating some offensive language which ended up in a customer demo, which was a bit of an unfortunate experience.

Also, I'd be hesitant to put words in which are too offensive, or subjective to offense such as racial references, I would prefer to keep this library as positive as possible, there's nothing from stopping people to write their own faker for cases like this.

from datafaker.

snuyanzin avatar snuyanzin commented on September 5, 2024

how about not only obscene words but also obscene expressions?

however yes, keeping it on a more positive side also makes sense

from datafaker.

bodiam avatar bodiam commented on September 5, 2024

how about not only obscene words but also obscene expressions?

What could possibly go wrong here....

I'm not sure what domains you work on, but in the domains where I work, showing these kind of results could possibly be very damaging to the business. There's nothing from stopping to build your own custom faker if you really need it, but let's keep Datafaker G or PG rated please.

from datafaker.

bodiam avatar bodiam commented on September 5, 2024

@snuyanzin @asolntsev if you're realllllllllly keen, you can always use Fallout quotes for the spam filtering:

- "Nobody has a Dick that long, not eve Long-Dick Johnson, and he had a fuckin long dick, thus the name."

from datafaker.

asolntsev avatar asolntsev commented on September 5, 2024

@bodiam Sorry, I don't understand how.
To test spam filter, I need some provider that stably generate obscene words.
Fallout quotes don't suite because only some of them contain obscene words. How can such a test stably work?

from datafaker.

kingthorin avatar kingthorin commented on September 5, 2024

Just use a custom provider with your own yaml, then there are no concerns for the project.

from datafaker.

Related Issues (20)

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.