@jirimracek/conjugate-esp
v2.3.6
Published
Spanish verb conjugator, castellano, voseo, canarias, formal
Downloads
13
Maintainers
Readme
Spanish verb conjugator
Sun 03 Jan 2021 07:14:54 PM CET, version 2.3.6
Uses templates, pattern matching & logic to conjugate Spanish verbs
Goals
correct, detailed, complete, fast & small
14456 tested verbs based on 97 models
includes
- only current, RAE recognized as known & used verbs
- castellano, voseo, formal, canarias
- reflexives
- defectives
- multiple (dual & triple) conjugations
- dual participios
- orthographical changes (1999 and 2010)
If you find this useful -- drop me a note, I'd like to know
TL;DR
- new in 2.3.x
- public interface changes
- new public methods
- getOrthoVerbListSync()
- getOrthoVerbList() - get verbs affected by 1999/2010 orthography
- useHighlight() - turn on / off / partial highlighting
- getDefectiveVerbList(exact = false) now has an optional argument - see Usage for info
- internal changes, dropped one lever of db nesting, simplifications
- removed use of
- Array.flat() , can be used with more browsers
- ts compiler option target moved back to ES2016
- rearranged the order or the Result[] - non-defective conjugations are always listed before defective ones
- play with node bin/runme.js
Want to read
- see Release notes for major / minor version updates
- see Changelog for current details
- see Roadmap for future changes and ideas
- see Usage for usage, interfaces, return values description, sample output and more
Credits
- Many thanks to Estudio Sampere Salamanca, España
- Esther González, Ester García, María Ballesteros you're my heroes
- Contributors to fast-diff - I really didn't feel like writing yet another text comparison, you saved me a lot of time
Compatibility
- browsers
- see caniuse
- node.js >= 12.11
- ~~uses ES2019 features, namely Array.flat~~ (12/21/2020 - not anymore)
- uses ES2016
- see ECMAScript compatibility
Installation
- clone / download gitHub repository
- npm i @jirimracek/conjugate-esp
Modes / Times
- Impersonal
- Infinitivo, Gerundio, Participio
- Indicativo
- Simple
- Presente, Pretérito Imperfecto, Pretérito Indefinido, Futuro Imperfecto, Condicional Simple
- Compuesto
- Pretérito Perfecto, Pretérito Pluscuamperfecto, Pretérito Anterior, Futuro Perfecto, Condicional Compuesto
- Simple
- Subjuntivo
- Simple
- Presente, Pretérito Imperfecto Ra, Pretérito Imperfecto Se, Futuro Imperfecto
- Compuesto
- Pretérito Perfecto, Pretérito Pluscuamperfecto Ra, Pretérito Pluscuamperfecto Se, Futuro Perfecto
- Simple
- Imperativo
- Afirmativo, Negativo
(rarely employed Indicativo Pretérito Anterior & Subjuntivo Futuro Perfecto / Imperfecto)
Implemented and tested conjugation models
| AR | | |---------------|:-----------:| | hablar | ✔ | | acertar | ✔ | | actuar | ✔ | | aguar | ✔ | | ahincar | ✔ | | aislar | ✔ | | andar | ✔ | | aunar | ✔ | | avergonzar | ✔ | | cabrahigar | ✔ | | colgar | ✔ | | contar | ✔ | | dar | ✔ | | desdar | ✔ | | desosar | ✔ | | engorar | ✔ | | enraizar | ✔ | | errar | ✔ | | estar | ✔ | | forzar | ✔ | | jugar | ✔ | | pagar | ✔ | | regar | ✔ | | rozar | ✔ | | sacar | ✔ | | tropezar | ✔ | | vaciar | ✔ | | volcar | ✔ | |➖|| |➖|| |➖|| |➖|| |➖|| |➖|| |➖|| |➖|| |➖||
| ER | | |---------------|:-----------:| | temer | ✔ | | caber | ✔ | | caer | ✔ | | coger | ✔ | | corroer | ✔ | | creer | ✔ | | haber | ✔ | | hacer | ✔ | | mover | ✔ | | nacer | ✔ | | oler | ✔ | | placer | ✔ | | poder | ✔ | | poner | ✔ | | querer | ✔ | | raer | ✔ | | rehacer | ✔ | | responder | ✔ | | rever | ✔ | | romper | ✔ | | saber | ✔ | | ser | ✔ | | tañer | ✔ | | tender | ✔ | | tener | ✔ | | torcer | ✔ | | traer | ✔ | | valer | ✔ | | vencer | ✔ | | ver | ✔ | | volver | ✔ | | yacer | ✔ | |➖|| |➖|| |➖|| |➖|| |➖||
| IR | | |---------------|:-----------:| | partir | ✔ | | abrir | ✔ | | adquirir | ✔ | | argüir | ✔ | | asir | ✔ | | balbucir | ✔ | | bendecir | ✔ | | ceñir | ✔ | | cohibir | ✔ | | conducir | ✔ | | corregir | ✔ | | decir | ✔ | | delinquir | ✔ | | dirigir | ✔ | | discernir | ✔ | | distinguir | ✔ | | dormir | ✔ | | embaír | ✔ | | erguir | ✔ | | escribir | ✔ | | huir | ✔ | | ir | ✔ | | lucir | ✔ | | oír | ✔ | | plañir | ✔ | | podrir | ✔ | | pudrir | ✔ | | rehenchir | ✔ | | rehuir | ✔ | | reunir | ✔ | | reír | ✔ | | salir | ✔ | | seguir | ✔ | | sentir | ✔ | | servir | ✔ | | venir | ✔ | | zurcir | ✔ |
Resources Used
Estudio Sampere Salamanca - great place to study Spanish
RAE main page and their (paid subscription, much recommended) RAE Enclave
Rodríguez-Rodríguez, G; Carreras-Riudavets, F; Hernández-Figueroa, Z; (2009). Conjugación de verbos en español - Conjugador TIP - excellent book, about the most accurate and complete web conjugator I found
Vadémecum del verbo español, Pedro Gomis Blanco, Laura Segura Calvo - good technical reference on verb usage, but has many errors (tables, verb to model index), use with extreme caution
... and many others