test_profanity {One4All} | R Documentation |
Test for profanity in a string
Description
This function checks if the input string contains any profane words.
Usage
test_profanity(x)
Arguments
x |
A character string to check for profanity. |
Value
A logical value indicating whether the input string contains no profane words.
Examples
test_profanity("This is a clean sentence.")
test_profanity("This sentence contains a badword.")
[Package One4All version 0.5 Index]