Skip to main content

This tool conjugates Galician verbs

Project description

Conxugador

This tool conjugates Galician verbs and will be able to add (not at the moment) enclitic pronouns to them, it is a Python reconstruction of Conshuga. This Software is distributed under the terms of the GNU General Public License Version 3.

You can use it as command line tool or as a library. You can download it from a shell with the command below:

$ git clone https://gitlab.com/avieites/conxugador.git

Or, alternatively, you can install it from PyPI with command:

$ pip install conxugador

Examples

If you clone the project from GitLab, you can execute it from the root folder:

$ python conxugador ferver
Conxugador Copyright (C) 2021 Andrés Vieites Pérez
This program comes with ABSOLUTELY NO WARRANTY; for details read COPYING.
This is free software, and you are welcome to redistribute it.

FN:ferver:fervendo:fervido
IP:ferver:ferveres:ferver:fervermos:ferverdes:ferveren
PI:fervo:ferves:ferve:fervemos:fervedes:ferven
II:fervía:fervías:fervía:ferviamos:ferviades:fervían
EI:fervín:ferviches:ferveu:fervemos:fervestes:ferveron
MI:fervera:ferveras:fervera:ferveramos:ferverades:ferveran
TI:fervería:ferverías:fervería:ferveriamos:ferveriades:ferverían
FI:ferverei:ferverás:ferverá:ferveremos:ferveredes:ferverán
PS:ferva:fervas:ferva:fervamos:fervades:fervan
IS:fervese:ferveses:fervese:fervésemos:fervésedes:fervesen
FS:ferver:ferveres:ferver:fervermos:ferverdes:ferveren
IA:ferve:ferva:fervamos:fervede:fervan
IN:fervas:ferva:fervamos:fervades:fervan

where:

  • FN: formas nominais: infinitivo, xerundio e participio
  • IP: infinitivo persoal/infinitivo flexionado/infinitivo conxugado
  • PI: presente do indicativo
  • II: pretérito imperfecto do indicativo/copretérito do indicativo
  • EI: pretérito perfecto do indicativo/pretérito do indicativo
  • MI: pretérito pluscuamperfecto do indicativo/mais-que-perfecto do indicativo/antepretérito do indicativo
  • TI: condicional/futuro do pretérito do indicativo/pospretérito do indicativo
  • FI: futuro do presente do indicativo/futuro do indicativo
  • PS: presente do subxuntivo
  • IS: pretérifo imperfecto do subxuntivo/pretérito do subxuntivo
  • FS: futuro do subxuntivo
  • IA: imperativo afirmativo
  • IN: imperativo negativo

If you installed it with pip:

$ python -m conxugador ferver

or:

$ python
Python 3.9.4 (tags/v3.9.4:1f2e308, Apr  6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import conxugador
>>> conxugador.conjugate('ferver')
{'tenses': {'fn': ['ferver', 'fervendo', 'fervido'], 'pi': ['fervo', 'ferves', 'ferve', 'fervemos', 'fervedes', 'ferven'], 'ii': ['fervía', 'fervías', 'fervía', 'ferviamos', 'ferviades', 'fervían'], 'ia': ['ferve', 'ferva', 'fervamos', 'fervede', 'fervan'], 'ip': ['ferver', 'ferveres', 'ferver', 'fervermos', 'ferverdes', 'ferveren'], 'ei': ['fervín', 'ferviches', 'ferveu', 'fervemos', 'fervestes', 'ferveron'], 'mi': ['fervera', 'ferveras', 'fervera', 'ferveramos', 'ferverades', 'ferveran'], 'ti': ['fervería', 'ferverías', 'fervería', 'ferveriamos', 'ferveriades', 'ferverían'], 'fi': ['ferverei', 'ferverás', 'ferverá', 'ferveremos', 'ferveredes', 'ferverán'], 'ps': ['ferva', 'fervas', 'ferva', 'fervamos', 'fervades', 'fervan'], 'is': ['fervese', 'ferveses', 'fervese', 'fervésemos', 'fervésedes', 'fervesen'], 'fs': ['ferver', 'ferveres', 'ferver', 'fervermos', 'ferverdes', 'ferveren'], 'in': ['fervas', 'ferva', 'fervamos', 'fervades', 'fervan']}}

besides if you have the Python scripts folder in your PATH (either C:\Program Files\Python39\Scripts or C:\Users\<user>\AppData\Roaming\Python\Python39\Scripts) you can run it directly:

$ conxugador.exe ferver
Conxugador Copyright (C) 2021 Andrés Vieites Pérez
This program comes with ABSOLUTELY NO WARRANTY; for details read COPYING.
This is free software, and you are welcome to redistribute it.

FN:ferver:fervendo:fervido
IP:ferver:ferveres:ferver:fervermos:ferverdes:ferveren
PI:fervo:ferves:ferve:fervemos:fervedes:ferven
II:fervía:fervías:fervía:ferviamos:ferviades:fervían
EI:fervín:ferviches:ferveu:fervemos:fervestes:ferveron
MI:fervera:ferveras:fervera:ferveramos:ferverades:ferveran
TI:fervería:ferverías:fervería:ferveriamos:ferveriades:ferverían
FI:ferverei:ferverás:ferverá:ferveremos:ferveredes:ferverán
PS:ferva:fervas:ferva:fervamos:fervades:fervan
IS:fervese:ferveses:fervese:fervésemos:fervésedes:fervesen
FS:ferver:ferveres:ferver:fervermos:ferverdes:ferveren
IA:ferve:ferva:fervamos:fervede:fervan
IN:fervas:ferva:fervamos:fervades:fervan

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

conxugador-2021.4.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

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

conxugador-2021.4-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file conxugador-2021.4.tar.gz.

File metadata

  • Download URL: conxugador-2021.4.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for conxugador-2021.4.tar.gz
Algorithm Hash digest
SHA256 342739a2185cad80b9ec79625a1c6f14416e04d8712db08a608cdae87c495db6
MD5 c3d3bd9738f971e5dbbe45994e1abd82
BLAKE2b-256 a0b34475f5fe2a9ac264367932cfb3745e22b86cca74163fe437fdb74db39bd3

See more details on using hashes here.

File details

Details for the file conxugador-2021.4-py3-none-any.whl.

File metadata

  • Download URL: conxugador-2021.4-py3-none-any.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for conxugador-2021.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f4808820af58c52545fdae307bc80ea92f8deb3560b3dca88818550014724a6
MD5 b1896083d8d69b51dd007e7e46b928d4
BLAKE2b-256 64674be6da42415055274eaaf0bc63d23b45b4ebc5a17050f0d34753682883dc

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