Verbs conjugation and desconjugation
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyverbal-1.0.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
pyverbal-1.0.0-py3-none-any.whl
(17.9 kB
view hashes)