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:
- [Python 2.6 or higher]
- scikit-learn
- pandas
- nltk
- pymysql
- python-decouple
- fuzzywuzzy
- python-Levenshtein
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/
Metadata
Release files for abusify-id 0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| abusify-id-0.13.tar.gz | 464.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abusify_id-0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 928.1 kB
Release files / abusify-id-0.13.tar.gz
| Download URL | abusify-id-0.13.tar.gz |
|---|---|
| Size | 464.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
291887a916f2170e9d24be4af3f4823c87f387f7b198a9fc8ee071447121e7d1
|
|
BLAKE2b-256 checksum How to use checksums |
11b25ba22f8182b4167c40c7241651854d539e5c54382cab44266175dd468730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / abusify_id-0.13-py3-none-any.whl
| Download URL | abusify_id-0.13-py3-none-any.whl |
|---|---|
| Size | 464.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c64171e4b31a646aeda2a91c71d18003045f38a8db3daa4b45b14cb8f413cf1b
|
|
BLAKE2b-256 checksum How to use checksums |
2bb6d5e8ad7a85ee52270ab4abd971d491267d44dd5cd65e986faf1faebfc575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for abusify-id 0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.