Skip to main content

A tiny python package to conjugate spanish verbs with 'voseo' (using vos instead of tu). Seamless integration with the verbecc spanish conjugator.

Project description

Voseador

A tiny python package to conjugate spanish verbs with voseo (using vos instead of tu).

This package works by derivating the "vos" conjugation from the "vosostros" one when necesary. For example: "vosotros cantáis" -> "vos cantás". It also has an exception table for irregular verbs.

Seamless integration with the verbecc spanish conjugator.

Dependencies

Python 3.7

Unidecode==1.3.6

Examples

Using verbecc

Additional dependencies: verbecc==1.7.1

from verbecc import Conjugator
from voseador import Voseador

conjugator = Conjugator(lang='es')
voseador = Voseador()

conjugation = conjugator.conjugate("haber")

conjugation = voseador.add_vos_to_verbecc_conjugation(conjugation)

print(conjugation["moods"])

On its own

from voseador import Voseador

voseador = Voseador()

vos_verb = voseador.vos_from_vosotros(mood="indicativo", tense="presente", infinitivo="comer", vosotros_verb="coméis")

print(vos_verb)

Take into account that this last example only works with tenses in wich the "vos" conjugation differs from de "tu" one. In the rest of the cases you can just copy the "tu" conjugation.

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

voseador-0.1.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voseador-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file voseador-0.1.1.tar.gz.

File metadata

  • Download URL: voseador-0.1.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for voseador-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e9e2f882123a95d4ea386d2193b2760fb9bd0a6ca0001e0f583398a2da83dfa8
MD5 61c87ddf9a8f36659e685daf1b0f51a5
BLAKE2b-256 8a5ec4b1403d8e24d7720368ac28d18748ba68e3d2507a545ce2d2f29b05f158

See more details on using hashes here.

File details

Details for the file voseador-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: voseador-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.9

File hashes

Hashes for voseador-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c6365ec16e77818efae849f2ae7507a3234a9db48da9d818ec23ef42b20bf88
MD5 bb99b7acecd9fd2ab4d01e74ec458d28
BLAKE2b-256 255622bf0b700ee82392c9100c4d4b7205640073802347a5cb98f76d2124dd64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page