Skip to main content

Abusiveness Verification in Bahasa Indonesia

Project description

AbusifyID

Abusiveness Verification in Bahasa Indonesia. Predict the abusiveness level of a sentence, detect abusive words, and filter abusive words.

Live Demo: https://abusifyid.streamlit.app/

Requirements

All requirements below have been installed automatically. Install manually if there are problems:

Installation

Install using pip.

pip install abusify-id

How to Use

Predict Abusiveness

Predict the abusiveness level of a sentence, using text input or .txt file input.

import abusify_id as ai
text = "Anjing, lu tolol ya!"
level = ai.predict_abusiveness(text)
print(level)
... 99.59%
import abusify_id as ai
ai.predict_abusiveness_file("input.txt", "output.txt")
... The results have been saved in a file: output.txt

with decimal_places:

import abusify_id as ai
text = "Anjing, lu tolol ya!"
level = ai.predict_abusiveness(text, decimal_places=5)
print(level)
... 99.59093%
import abusify_id as ai
ai.predict_abusiveness_file("input.txt", "output.txt", decimal_places=4)
... The results have been saved in a file: output.txt

Abusive Word Detector

import abusify_id as ai
text = "Anjing, lu tolol ya!"
detect = ai.abusiveword_detector(text)
print(detect)
... [Anjing](https://stopucapkasar.com/detail.php?id=9), [Tolol](https://stopucapkasar.com/detail.php?id=95)

Abusive Word Filter

import abusify_id as ai
text = "Anjing, lu tolol ya!"
filter = ai.abusiveword_filter(text)
print(filter)
... Sialan, lu bebal ya!

Website

Visit our website: https://stopucapkasar.com/

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

abusify-id-0.13.tar.gz (464.1 kB view details)

Uploaded Source

Built Distribution

abusify_id-0.13-py3-none-any.whl (464.0 kB view details)

Uploaded Python 3

File details

Details for the file abusify-id-0.13.tar.gz.

File metadata

  • Download URL: abusify-id-0.13.tar.gz
  • Upload date:
  • Size: 464.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for abusify-id-0.13.tar.gz
Algorithm Hash digest
SHA256 291887a916f2170e9d24be4af3f4823c87f387f7b198a9fc8ee071447121e7d1
MD5 baa2c2ba7d5e89c8fa300d5b63caf897
BLAKE2b-256 11b25ba22f8182b4167c40c7241651854d539e5c54382cab44266175dd468730

See more details on using hashes here.

File details

Details for the file abusify_id-0.13-py3-none-any.whl.

File metadata

  • Download URL: abusify_id-0.13-py3-none-any.whl
  • Upload date:
  • Size: 464.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for abusify_id-0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 c64171e4b31a646aeda2a91c71d18003045f38a8db3daa4b45b14cb8f413cf1b
MD5 0130446e42290af884949c072e9b133b
BLAKE2b-256 2bb6d5e8ad7a85ee52270ab4abd971d491267d44dd5cd65e986faf1faebfc575

See more details on using hashes here.

Supported by

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