Package Exports
- @jirimracek/conjugate-esp
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jirimracek/conjugate-esp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Spanish verb conjugator
Mon 09 Nov 2020 09:58:41 PM CET, version 2.2.0
Uses templates, pattern matching & logic to conjugate Spanish verbs, there are no lookup tables, no databases, no dependencies. While the development depends on few external packages, the deployed npm has no dependencies
Goals
- correct, detailed, complete, independent, fast & small (yes, you can have it all)
- 10567 tested verbs, uses 97 models
- includes
- only current, RAE recognized as known & used verbs
- regional varieties of castellano, voseo, formal, canarias
- defectives
- multiple (dual & triple) conjugations
- dual participios
- orthographical changes (1999 and 2010)
TL;DR
- reverted ts compilerOptions back to "target": "ES2020" and "module": "commonjs"
- changes concerning pre and past 2010 orthography rules, added info header entry, added tests
- minor cleanup before npm publish
- published to npm under tag v2.2.0
Want to read
- see CHANGELOG for 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
Compatibility
- browsers
- see caniuse
- node.js >= 12.11
- uses ES2019 features, namely Object.fromEntries and Array.prototype.flat
- see ECMAScript compatibility
Installation
- clone / download gitHub repository
- npm i @jirimracek/conjugate-esp
Modes / Times covered
- 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
Implemented and tested conjugation models
|
|
|
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