Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more restricted profane words #1

Open
Samasaur1 opened this issue Jul 11, 2018 · 7 comments
Open

Add more restricted profane words #1

Samasaur1 opened this issue Jul 11, 2018 · 7 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Samasaur1
Copy link
Owner

As the base of this repository came from my CityManagement repository, I'm transferring this issue that pertains to this code here. Here's the original description:

In Utilities.java lines 99-101, there is a HashSet of profane words. Any contributions are appreciated. Just follow the same format.

@Samasaur1
Copy link
Owner Author

Due to 3b447b8 fixing #4, compound words must also be added. For example, "asshole" must be added even though "ass" is already in the list

@Samasaur1
Copy link
Owner Author

Also, the list is now here:

private static Set<String> profaneWords = new HashSet<>(Arrays.asList(
"fuck", "shit", "bitch", "ass", "crap", "piss", "dick", "cock", "pussy",
"asshole", "fag", "bastard", "slut", "douche", "cunt", "damn", "pissed",
"fucker", "motherfucker", "dammit"));

@marjanovicsteva
Copy link
Contributor

Hello, can I work on this issue?
If so, please assign it to me 😄

@Samasaur1
Copy link
Owner Author

Thanks for helping out!

@marjanovicsteva
Copy link
Contributor

No problem! I created a program that will generate a private static Set<String> profaneWords = ... line with a bunch of chosen profane words. My question is how restrictive you want to be?
I found a file containing a lot of profane words and here is a part of that file containing only words that have ass in them. Is it too strict or are you okay with that amount of words?

@Samasaur1
Copy link
Owner Author

@marjanovicsteva That's fine

@Samasaur1
Copy link
Owner Author

You made a contribution, so I'm unassigning you, but there are always more words, so I'm leaving the issue open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants