Skip to content

About

Profanity API is an advanced language detection tool that not only detects commonly used cuss words in English, but also has the capability to detect any variations or misspellings of cuss words, as well as in Hindi language, ensuring that it can accurately identify any offensive language used by the user and respond with a "Yes" or "No"

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Profanity API

Profanity API is an advanced language detection tool that not only detects commonly used cuss words in English, but also has the capability to detect any variations or misspellings of cuss words, as well as unique cuss words in Hindi language, ensuring that it can accurately identify any offensive language used by the user and respond with a "Yes" or "No" accordingly.

Steps to run locally

  1. Clone repo using https://github.com/thisisyashgarg/profanity-api.git.
  2. Install dependencies using npm install.
  3. Create a .env file in the root of the project and add your OpenAI API key.
  4. Change the user message as per your wish in the constants.ts file.
  5. Run the project using npm run build followed by npm start.

About

Profanity API is an advanced language detection tool that not only detects commonly used cuss words in English, but also has the capability to detect any variations or misspellings of cuss words, as well as in Hindi language, ensuring that it can accurately identify any offensive language used by the user and respond with a "Yes" or "No"

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages