Comprehensive Javanese language stemmer with morphophonological rules and dictionary validation
Project description
Javanese Stemmer
Javanese language stemmer with dictionary validation.
Installation
pip install javanese-stemmer
Usage
from javanese_stemmer import JavaneseStemmer
# Initialize (dictionary auto-loads from package)
stemmer = JavaneseStemmer()
# Stem a word
result = stemmer.stem("mlaku")
print(result)
# Stem a sentence
words = stemmer.stem_sentence("Aku mlaku ing dalan")
print(words)
Features
- Dictionary validation
- Handles prefixes, suffixes, infixes
- Safe fallback to original word
- Built-in Javanese dictionary
License
MIT License
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
javanese_stemmer-1.2.0.tar.gz
(23.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file javanese_stemmer-1.2.0.tar.gz.
File metadata
- Download URL: javanese_stemmer-1.2.0.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88753b1f5838c21ca5976eb2be11e29de77574575dfc0efc3538f6c168784791
|
|
| MD5 |
5029272f67e9c229cf34c27e420e87fa
|
|
| BLAKE2b-256 |
1ec05b213a280c828da50f905f7e8bb89a8703c94ad9dd55f91d7f239c3a7f12
|
File details
Details for the file javanese_stemmer-1.2.0-py3-none-any.whl.
File metadata
- Download URL: javanese_stemmer-1.2.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8fd793b756fca83290545d5601276ebb6bafba7dc659b2a3fc4634ddecd2a75
|
|
| MD5 |
43c807da4d0aa319f2fdd0bead9ee8c3
|
|
| BLAKE2b-256 |
b91073a13784d2d24e2ee8be2c9bcdb6abad1c59922a177fd60dd4112b5777cc
|