kaegi / MorphMan

Anki plugin that reorders language cards based on the words you know
Other
260 stars 66 forks source link

Morphman not scheduling the cards. #252

Open needCaffeinePlz opened 3 years ago

needCaffeinePlz commented 3 years ago

Just recently updated Anki to 2.1.35 and since MorphMan has not being scheduling the i+1 cards. It was working fine before I updated Anki. It seems to be correctly tagging the cards and recalculating with no issues but I keep getting sentences with 2 unknown words. The Anki 2.1 scheduler is unticked also. Any help would be appreciated.

SaraSmiseth commented 3 years ago

Workaround would be to suspend all the cards but the ones that are i+1.

needCaffeinePlz commented 3 years ago

That's actually a very good idea. I never thought of that. Thank you!

Digital-Coder commented 3 years ago

I am experiencing the same issue

needCaffeinePlz commented 3 years ago

I am experiencing the same issue

I done what SaraSmiseth suggested and suspended every card that wasn't I+1 and that works. Then after I re calculate I just quickly unsuspend any cards that are now I+1. I haven't checked if mine has started working again because I just felt like there was no need.

Digital-Coder commented 3 years ago

Just recently updated Anki to 2.1.35 and since MorphMan has not being scheduling the i+1 cards. It was working fine before I updated Anki. It seems to be correctly tagging the cards and recalculating with no issues but I keep getting sentences with 2 unknown words. The Anki 2.1 scheduler is unticked also. Any help would be appreciated.

did you add manually frequency.txt file in dbs folder ? I deleted it and now it only shows i+1 , but ofcourse scheduling is not based on word frequency list

needCaffeinePlz commented 3 years ago

did you add manually frequency.txt file in dbs folder ? I deleted it and now it only shows i+1 , but ofcourse scheduling is not based on word frequency list

No I havent touched that since I installed morphman in September last year. I will refer to cards with more than i+1 as MT. So any cards that are MT and on the frequency list are marked as #200000 to #400000 the only cards before that are the i+1 on the frequency list. Every other i+1 card is marked as #1199998 with MT cards not on a frequency list being #1299987. I see how deleting the frequency list fixes it as it would change the MT cards marked #200000 to the #1299987 fixing the issue.

If there is a way to change how it numbers the cards it would solve my issue. I will try look myself to see if I can find it.

ianki commented 2 years ago

If you have a frequency.txt or a priority.db it will do this. Take care as using the Readability Analyzer can output a frequency.txt. By default, cards with morphemes in frequency.txt or priority.db will get priority even if they're i+2.

If you want to revert to the old functionality, you can change 'no priority penalty' inside morph/.config.py to 0.

    # Cards with unknown morphemes outside of frequency.txt or priority.db will get this penalty.  This will make
    # i+2 or i+n cards with morphemes that are in frequency.txt or prioritydb get a higher priority.
    'no priority penalty': 1000000,