Skip to main content

Nor Asro

Nor Asro adalah library Python untuk normalisasi teks dalam bahasa Indonesia. Library ini dirancang untuk membantu membersihkan teks dengan cara mengganti kata slang menjadi formal, menghapus noise, dan melakukan stemming menggunakan Sastrawi.

Fitur

  • Normalisasi kata slang ke kata formal
  • Mendukung file Excel untuk memuat daftar slang-formal
  • Penghapusan noise seperti URL, angka, dan tanda baca
  • Stemming untuk mendapatkan kata dasar

Instalasi

pip install nor_asro


from nor_asro.normalizer import NorAsroNormalizer

# Inisialisasi normalizer dengan file Excel
normalizer = NorAsroNormalizer("path_to_your_excel_file.xlsx")

# Contoh teks
text = "Woww amin keberpa netaas met ya!"
result = normalizer.normalize_text(text)
print(result)  # Output: "wow amin keberapa menetas selamat ya"

Metadata

Release files for nor-asro 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nor-asro 0.1.1
File Size Uploaded
nor_asro-0.1.1.tar.gz 258.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nor-asro 0.1.1
File Interpreter ABI Platform
nor_asro-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 515.2 kB

Release files / nor_asro-0.1.1.tar.gz

Download URL nor_asro-0.1.1.tar.gz
Size 258.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9f8b9f599d604a492c01e31ca8f7fcdc0c2aacb41092cc918903fad8ff212f57
BLAKE2b-256 checksum
How to use checksums
b8e0566530c684e6e2ef29b9f040254e2e5d15f0f1f4d7ab4a7c85acd1d88642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Release files / nor_asro-0.1.1-py3-none-any.whl

Download URL nor_asro-0.1.1-py3-none-any.whl
Size 257.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ef989e02414882ff62298a71f484011fef705eee67d2bf44b43f06cd9650299
BLAKE2b-256 checksum
How to use checksums
acba5893a91d7c19c799b191467fc4fa359db41228e7be19d37d8c7e1bee4938
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page