Skip to content
New issue

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

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

Already on GitHub? # to your account

Add support for 'safe' combinations filter #205

Open
bryandonmarc opened this issue Feb 23, 2021 · 0 comments
Open

Add support for 'safe' combinations filter #205

bryandonmarc opened this issue Feb 23, 2021 · 0 comments

Comments

@bryandonmarc
Copy link

bryandonmarc commented Feb 23, 2021

Feature request:
Support for random names without obscene, NSFW, or otherwise sexually suggestive combinations.

Currently, the haikunator.haikunate() can result in inappropriate combinations such as

haikunator.haikunate();
// Sexual combinations:
// => throbbing-wood-6969 (or hard-wood, morning-wood, tiny-wood, etc.)
// => tight-queen-6969
// Drug-related:
// => green-bush-1420
// Religious taboos:
// => dark-voice-6666
// etc.

Reason:
One of the combinations above actually appeared when a teacher was generating a random classroom access code while testing my learning management system project. It was downright embarrassing.

Work-around:
I've modified the default list of nouns and adjectives and removed those which I think might result in inappropriate combinations. As for the random number token, I've placed a while condition which generates a new random token while the current token matches a list of inappropriate digit combinations e.g. 69, 420, 666, etc.

@bryandonmarc bryandonmarc changed the title Add support for 'safe' combinations Add support for 'safe' combinations filter Feb 23, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant