Okay, I finally decided to alter the repetition algorithm:
(in SM2_mnemosyne.py)
elif card.grade in [2, 3, 4, 5] and new_grade in [0, 1]:
# In the retention phase and dropping back to the
# acquisition phase.
card.ret_reps += 1
card.lapses += 1
card.acq_reps_since_lapse = 0
card.ret_reps_since_lapse = 0
new_interval = 0
* card.easiness -= 0.4 if card.easiness < 1.3:
card.easiness = 1.3*
elif card.grade in [2, 3, 4, 5] and new_grade in [2, 3, 4, 5]:
# In the retention phase and staying there.
card.ret_reps += 1
card.ret_reps_since_lapse += 1
# Don't update the easiness when learning ahead.
if timing in ["LATE", "ON TIME"]:
if new_grade == 2:
card.easiness -= 0.16
if new_grade == 3:
card.easiness -= 0.14
if new_grade == 5:
card.easiness += 0.10
if card.easiness < 1.3:
card.easiness = 1.3
if card.ret_reps_since_lapse == 1:
# new_interval = 6 * DAY
* if new_grade == 2: new_interval = 3 *
DAY if new_grade == 3: new_interval = 4 *
DAY if new_grade == 4: new_interval = 5 *
DAY if new_grade == 5: new_interval = 6 *
DAY*
else:
if new_grade == 2 or new_grade == 3:
if timing in ["ON TIME", "EARLY"]:
# new_interval = actual_interval * card.easiness
* if new_grade == 2: new_interval =
actual_interval * card.easiness * 0.8 if new_grade
== 3: new_interval = actual_interval *
card.easiness*I've managed to replace the file in the library (I exchanged
the .pyo with a .py file and it still works), and the changes seem to work
as well.
I'll test it in practice in the next days and weeks and I'll let you know
how I'm coping with new Kanjis in the future. :)
Thank you for your help, and keep up the good work! ^.^
Cheers,
Johan
--
You received this message because you are subscribed to the Google Groups
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mnemosyne-proj-users/b2c7a5b0-79fa-4301-bbe4-523e39fa3f0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.