nlp / ProfanityDetection / 1.0.0
Profanity Detection
Royalty Free
Detect profanity in text automatically
Language
Java
Metrics
API Calls - 3,066,395
Avg call duration -
69.83sec
Permissions
This is not a recognized license.
Run an Example
Input
Output
{
"ass": 1,
"damn": 1,
"jackass": 1,
"frack": 1
}
Install and Use
Install
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
Use
algo run nlp/ProfanityDetection/1.0.0 -d '["He is acting like a damn jackass, and as far as I'm concerned he can frack off.",["frack","cussed"],false]' --timeout 300
This algorithm's sample input contains a
'
character. This can be used to inject malicious code when running commands
(e.g. "'; sudo rm -rf / ;"). Use with caution.