"Profanity" (Built-in Classifier)
-
See Also
- Classify
- NetModel
- TextCases
- TextSentences
- WolframLanguageData
-
- Classifiers
- Sentiment
- Spam
- FacebookTopic
-
- Methods
- NaiveBayes
- Related Guides
"Profanity" (Built-in Classifier)
Determine whether a given text contains profanity.
Classes

Examples
open all close allBasic Examples (2)
Use the "Profanity" built-in classifier to return True if a text contains strong language and False otherwise:
Obtain the probabilities for the possible classes:
Obtain a ClassifierFunction for this classifier:
Scope (1)
Load the ClassifierFunction corresponding to the built-in classifier:
Options (3)
ClassPriors (1)
Use a custom ClassPriors to restrict the possible outputs:
IndeterminateThreshold (1)
Use a custom IndeterminateThreshold:
See Also
Classify NetModel TextCases TextSentences WolframLanguageData
Classifiers: Sentiment Spam FacebookTopic
Methods: NaiveBayes
Related Guides
History
Introduced in 2018 (11.3)