Skip to main content

Filter out racism, sexism and sexual content with pretrained models

Project description

#Usage:

from offensivetext.text_classify import RacismFilter
classifier = RacismFilter()
prediction = classifier('black people are bad', 'drugs are good')
print(prediction)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

offensivetext-1.3.6-py3-none-any.whl (37.2 MB view details)

Uploaded Python 3

File details

Details for the file offensivetext-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: offensivetext-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 37.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for offensivetext-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8335e9296f01fe2cbd2e1dc1d98c19083bab3ad41ed7092c73b4f78f0c3bf35f
MD5 d9e12815ab12b4f3b87579c29754b2a5
BLAKE2b-256 07da8ed6846f88e72922cf7ce2614278e37aa876227042724c00c00d39125b63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page