Skip to main content

Deep learning classifier of russian toxic comments

Project description

Install package

pip install toxicity

Example

from toxicity import ToxicCommentsDetector

test_raw_texts = [
    'ты чего берега попутал?',
    'это правый берег реки, не путай с левым'
]

toxicDetector = ToxicCommentsDetector()
print(toxicDetector.predict(test_raw_texts))

Project details


Download files

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

Source Distribution

toxicity-0.30.tar.gz (57.6 MB view details)

Uploaded Source

File details

Details for the file toxicity-0.30.tar.gz.

File metadata

  • Download URL: toxicity-0.30.tar.gz
  • Upload date:
  • Size: 57.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.9

File hashes

Hashes for toxicity-0.30.tar.gz
Algorithm Hash digest
SHA256 eb1df5ffc90cba4a358a81cf1b9652aa7812d87abf9da31fe353ed3524d0aa9c
MD5 d175df1c8b34a98dc75f6e7e4466ef3c
BLAKE2b-256 30d7016d067b2424e470ef1bb32f14792f742cfc5a698dd49fa9cc5d4689a8ee

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