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

Checking across languages makes nearly everything bad #3

Open
kernwig opened this issue Oct 4, 2022 · 0 comments
Open

Checking across languages makes nearly everything bad #3

kernwig opened this issue Oct 4, 2022 · 0 comments

Comments

@kernwig
Copy link

kernwig commented Oct 4, 2022

My name is bad?

import { changeMainLanguage, profanity } from "super-profanity";
changeMainLanguage("en");
const result = profane("Adam");

result is:

{
  "isBadWord": true,
  "detectedWord": "am",
  "profanityWordRelated": "am",
  "badWordLanguage": "tr"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant