PyVerbal
Verb conjugator for Brazilian Portuguese
It is compatible with Python 3.6 and above
Instalation
pip install pyverbal
Usage
Get the conjugator
from pyverbal.conjugation import get_language_conjugator
conjugator = get_language_conjugator("pt-Br")
Conjugate a verb
from pyverbal.lang import PortugueseConjugation
people = [
"eu",
"tu",
"ele",
"nos",
"vos",
"eles"
]
conjugation = PortugueseConjugation.PresenteDoIndicativo
for person in people:
conjugated_verb = conjugator.conjugate(
"comer",
conjugation,
person=person
)
print(f"For {person}: {verb} conjugated on {conjuugation} is {conjugated_verb}")
Future
- Implement conjugation for irregular verbs and other cases
- Implement verb desconjugation
- Expand the work for English and other languages
Release files for pyverbal 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyverbal-1.0.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyverbal-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / pyverbal-1.0.0.tar.gz
| Download URL | pyverbal-1.0.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b2bf757ffdc82b2a3c96c955d2404c739ae8fca5936e3ab421a741ef9d8fae7
|
|
BLAKE2b-256 checksum How to use checksums |
45b068e5a88a4dcb9b9a60e25800a12423a4ee0e591bd12a55715bbc1ce5f22f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
|
Release files / pyverbal-1.0.0-py3-none-any.whl
| Download URL | pyverbal-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07a68768eb243ccd13a6db1eca49e96faa3efff10edc6acf700a119758968268
|
|
BLAKE2b-256 checksum How to use checksums |
c61348278f073091d7337f689d5e473ce2c73bc5f8672e1e59aa8f8dae4489fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
|