Skip to main content

Filter out racism, sexism and sexual content with pretrained models

Project description

#Usage:

from offensivetext.text_classify import *
classifier = RacismFilter()
prediction = classifier('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.9-py3-none-any.whl (37.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: offensivetext-1.3.9-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.8.0

File hashes

Hashes for offensivetext-1.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3dc4c30323a148ac965af786414a236ee5d2d2c02297ded767eb370f0fbd2142
MD5 da15d51ae49caba48f01c55e05ec8777
BLAKE2b-256 d9be55c16ac745d0752dc9cccc357f2d35c824e0e1fdf464a5db4af9bb450157

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