How to use this:
String someText = "Hello, I'm a random text!";
// The given percentage defines the sensitivity in decimal. You also need to specify the offensive words for the check
boolean offensive = ProfanityDetector.containsOffensiveWords(someText, percentage, offensivewords);