test_profanity {One4All} | R Documentation |
This function checks if the input string contains any profane words.
test_profanity(x)
x |
A character string to check for profanity. |
A logical value indicating whether the input string contains no profane words.
test_profanity("This is a clean sentence.")
test_profanity("This sentence contains a badword.")