Catalog PyPI
Back to packageRELEASE DETAILS

0.13

PyPI

abusify-id

Abusiveness Verification in Bahasa Indonesia

Published23 Dec 2023
Direct dependencies7
Transitive dependenciesNot calculated

README

Version 0.13 documentation

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/

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
7 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
scikit-learn
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
scikit-learnruntime
pandas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pandasruntime
nltk
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
nltkruntime
pymysql
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pymysqlruntime
python-decouple
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
python-decoupleruntime
fuzzywuzzy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
fuzzywuzzyruntime
python-Levenshtein
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
python-Levenshteinruntime

Distribution files

2 collected
abusify_id-0.13-py3-none-any.whl

bdist_wheel · 453.09 KB · Python py3

Source file
abusify-id-0.13.tar.gz

sdist · 453.23 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:46 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:45fd4b611fcd1942e93ad0ef26e457854d4e75dc575612203d9cc2a96892e73c

Other collected versions

View all collected versions →