-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement validate_profanity feature via external api #38
Conversation
@SeeknnDestroy bu implementasyonun nasil kullanilacagini tam anlamadim, bir text uzerinde safetext tespiti yapip ayni zamanda moderatecontent api ile dogrulmaasini yapmak istiyorum, bunu ornek bir kod uzerinden yorumlayarak gosterebilir misin bu yoruma cevap olarak? |
st = SafeText(validate_profanity=True, api_key=api_key)
words = st.check_profanity(test_text)
# Check logs for comparison results
print(words) INFO:root:Possible missing bad words: {'am', 'moron'} |
No description provided.