Useful lib for text processing in Portuguese
Project description
pysquale
Useful lib for text processing in Portuguese.
The name of the lib was inspired by the name of the famous Brazilian Teacher Pasquale
Usage
from pysquale.common.pipeline import ReducerPipeline
from pysquale.words.cleaning import remove_accentuation, remove_punctuation, to_lower
func_list = [to_lower, remove_accentuation, remove_punctuation]
text = "Olá, quem é você?"
pipe = ReducerPipeline(target=text, items=func_list)
output = pipe.run()
print(output)
# Should print:
# ola quem e voce"
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
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
pysquale-0.0.11.tar.gz
(5.8 kB
view details)
Built Distribution
File details
Details for the file pysquale-0.0.11.tar.gz
.
File metadata
- Download URL: pysquale-0.0.11.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f13e238738e6c29e311be8bdb96251e8f24b4fb9501893e5e634ead20b73c737
|
|
MD5 |
3776d234c1f3aeb259f3e6b01cd5ee15
|
|
BLAKE2b-256 |
f25e682fdda33238975137755f9cb8217f97a1b5809fe2b4d33d56f0b1ba7572
|
File details
Details for the file pysquale-0.0.11-py2.py3-none-any.whl
.
File metadata
- Download URL: pysquale-0.0.11-py2.py3-none-any.whl
- Upload date:
- Size: 77.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9aa4f098da7ea8f5072fabf6317ddf73974516fcbf7662108b9ade33b0a4b802
|
|
MD5 |
de86a2fafb60f417493ba5a6bc60a2fb
|
|
BLAKE2b-256 |
c745f0d341cd7a5f0c7ccf05c6e01d59d303d767b21778e8241e1f33cd72b8ac
|