Sastrawi
Installation
Sastrawi can be installed via pip, by running the following commands in terminal/command prompt : pip install Sastrawi
Example Usage
Run the following commands in Python interactive terminal :
# import Sastrawi package
from Sastrawi.Stemmer.StemmerFactory import StemmerFactory
# create stemmer
factory = StemmerFactory()
stemmer = factory.create_stemmer()
# stem
sentence = 'Perekonomian Indonesia sedang dalam pertumbuhan yang membanggakan'
output = stemmer.stem(sentence)
print(output)
# ekonomi indonesia sedang dalam tumbuh yang bangga
print(stemmer.stem('Mereka meniru-nirukannya'))
# mereka tiru
Demo
Live demo : https://pysastrawi-demo.appspot.com/
Repository : https://github.com/har07/pystastrawi-demo
More Info
Metadata
Release files for Sastrawi 1.0.1
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 | |
|---|---|---|---|---|
| Sastrawi-1.0.1.zip | 211.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Sastrawi-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 421.3 kB
Release files / Sastrawi-1.0.1.zip
| Download URL | Sastrawi-1.0.1.zip |
|---|---|
| Size | 211.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62badb523e6e273f92eb6d53f5f3d4c0aa9ffcf1ceba69ab3dba5b7a0da02c56
|
|
BLAKE2b-256 checksum How to use checksums |
64e8abff41a085ec33b1a55f2065e0ebe1d6c9b6635559a94b3774c8c81e88aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / Sastrawi-1.0.1-py2.py3-none-any.whl
| Download URL | Sastrawi-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 209.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ac3d1f442ae8f33fd0f59387eb33a1a5121241f028c318c60820f26bd032d93b
|
|
BLAKE2b-256 checksum How to use checksums |
6f4bbab676953da3103003730b8fcdfadbdd20f333d4add10af949dd5c51e6ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Sastrawi 1.0.1
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.