aralroca/react-text-toxicity
Detect text toxicity in a simple way, using React. Based in a Keras model, loaded with Tensorflow.js.
Exposes the TensorFlow.js toxicity model via a custom React hook (`useTextToxicity`) that classifies text across multiple toxicity categories with configurable probability thresholds and built-in debouncing. The pre-trained Keras model runs inference directly in the browser, returning per-label match predictions and confidence scores for real-time content moderation.
No commits in the last 6 months.
Stars
45
Forks
5
Language
JavaScript
License
—
Category
Last pushed
Jan 06, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/aralroca/react-text-toxicity"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
zake7749/DeepToxic
top 1% solution to toxic comment classification challenge on Kaggle.
charliegerard/safe-space
Github action that checks the toxicity level of comments and PR reviews to help make repos safe spaces.
jaydeepjethwa/DeTox
A web-app to identify toxic comments in a youtube channel and delete them.
DenisIndenbom/AntiToxicBot
AntiToxicBot is a bot that detects toxics in a chat using Data Science and Machine Learning...
AbhishekChamoliDeveloper/text-toxicity-detector
This library can detect toxicity in the text or string or content and in return provide you the...