yurytsoy / hmeg

Help me, Erik Gunnemark
MIT License
0 stars 0 forks source link

Replace `mlconjug3` library with more simpler and less error prone conjugation #46

Closed yurytsoy closed 4 months ago

yurytsoy commented 4 months ago

Currenlty, HMEG uses mlconjug3 in order to get conjugations of words.

The library contains pre-trained conjugation models that maps input word with one of the predefined templates, that guide conjugation. Although this is a nice approach that can be used even for the new (previously unseen) words, it makes mistakes, as any classifier would do facing 171 imbalanced classes (for the English conjugations case).

Apart from occasional mistakes some other reasons to try replacing the mlconjug3:

Simpler candidate approach(es):

  1. Conjugate verbs manually by:
    • first checking whether verb is regular or not (eg using this)
    • get conjugation based on the outcomes of the check.
  2. TBD