conjugator
conjugator copied to clipboard
Errors in conjugations (files verbsIE.tsv and verbsEIE.tsv aren't used)
Verbs included in verbsIE.tsv
and verbsEIE.tsv
are (mostly) wrongly conjugated: e.g. acertar, encender, mantener in the former, competir in the latter. Only verbs like tener, which is included in exceptions.json
, are correct. Is this expected?
There's no code in inflect.js
reading the columns and applying the necessary corrections (replacing e with ie, using the yo column where appropriate, etc). I guess it's probably too much to add to them all to exceptions.json
.
Hi Bruno, I have added you as a collaborator. Fix is here if you'd like to review it:
https://github.com/ehoogerbeets/conjugator/pull/4
Hi Edwin, sorry for the delay: I've been meaning to take a look at this but haven't had time until now.
It looks much better! But now there's a problem with the new logic added in line 340 of inflect.js: searching for exceptions in this way breaks a lot of regular verbs. E.g: agrandar
, defraudar
or aguardar
should't follow dar
's conjugation. The same happens for example with apestar
or arrestar
following estar
.
How would you like to handle this?