mortii / anki-morphs

A MorphMan fork rebuilt from the ground up with a focus on simplicity, performance, and a codebase with minimal technical debt.
https://mortii.github.io/anki-morphs/
GNU Affero General Public License v3.0
61 stars 9 forks source link

Faster recallc, Faster already seen unknown morphs, add ProperNoun list #23

Closed Vilhelm-Ian closed 1 year ago

Vilhelm-Ian commented 1 year ago

I made recallc faster by using add_notes and add_cards, now it's able to recalculate 40k cards in under 2 minutes. I made already seen be so much faster that it no longer freezes anki, the way I did that is it no longer checks every card for unknown morphs only cards that the user has specified to use with morphman, also now it only looks for unknown morphs in cads that have been reviewed for the first time on the same day because if a card has already been reviewed it can't have recent unknown morphs. Also added the ability for users to add lists of proper nouns in their porifiel folder

I am sorry that you have to review so much. The bot just kept making changes to my commits

Vilhelm-Ian commented 1 year ago

https://github.com/mortii/anki-morphs/pull/22/commits

the main changes are upto the 4th commit