{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"}],"enrichment":{"capability":"Detects offensive or profane language in text strings using a machine-learning model trained on labeled datasets, returning binary classifications or probability scores.","skillfed_tags":["content-moderation","text-classification","machine-learning"],"use_cases":["Filter user-generated comments or forum posts in real time to flag potentially offensive content for review.","Pre-screen chat messages or social media content in moderation workflows before human review.","Detect toxic language in customer support tickets or feedback to route sensitive cases appropriately.","Classify text datasets for research on hate speech or offensive language patterns.","Implement content policies in multiplayer games or collaborative platforms by scoring text submissions."],"what_it_does":"Alt-profanity-check is a maintained fork providing fast offensive-language detection for Python applications. It uses a linear SVM model trained on 200k labeled text samples from hate-speech and toxic-comment datasets, combined with scikit-learn's CountVectorizer and LinearSVC to classify input strings as offensive or clean. The package returns either binary predictions (0 or 1) or probability scores, making it suitable for content moderation pipelines.\n\nThe library trades some accuracy for speed compared to more sophisticated NLP approaches, but avoids the brittleness of hard-coded word blacklists. It depends on scikit-learn and joblib, and the maintainer aligns package versions with scikit-learn releases to ensure model compatibility. The package is actively maintained and requires Python 3.11 or newer; older Python versions require pinning to specific package versions.","worth_installing":"Yes, if you need fast, model-based profanity detection and can target Python 3.11+. The package is actively maintained, has no known vulnerabilities, and offers better accuracy than blacklist-based alternatives with minimal install friction. The main trade-off is the strict Python version requirement and scikit-learn version pinning; treat predictions as heuristics, not ground truth, and test on your specific use case before deploying."},"id":"alt-profanity-check","links":{"html":"https://skillfed.io/packages/alt-profanity-check","md":"https://skillfed.io/packages/alt-profanity-check.md","pypi":"https://pypi.org/project/alt-profanity-check/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-11","license_spdx":null,"license_treatment":"permissive","name":"alt-profanity-check","python_support":"supports_current","summary":"A fast, robust library to check for offensive language in strings. Dropdown replacement of \"profanity-check\"."},"popularity":{"monthly_downloads":324852,"position":7591,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.0"}
