Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abusify-id

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abusify-id

Abusiveness Verification in Bahasa Indonesia

  • 0.13
  • PyPI
  • Socket score

Maintainers
1

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/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc