-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AnkiMorphs V3 megathread #222
Comments
This issue is mostly a placeholder/tracker for the roadmap. Any feedback/questions/discussions can be had here: #224, or in any of the relevant discussions/issues linked above. |
Originally posted by @mortii in #191 (comment) ChangelogFrequency filesFrequency files now have two acceptable versions, a minimal version and a full version:
Algorithm settings tabIt seems rather complicated, but hopefully it's simpler than it appears. Let's break it down. Morph Priority
WeightsThe first pass of the algorithm contains 5 adjustable terms: score = (
unknown_morphs_total_priority_score
+ all_morphs_avg_priority_score
+ all_morphs_total_priority_score
+ leaning_morphs_target_difference_score
+ all_morphs_target_difference_score
) The respective weights allows you to adjust how much impact the specific terms have on the score. If you don't want a term to have any impact then you can turn the weight all the way down to zero. Morph TargetsThis allows you to define an acceptable range where no punishment is given at all, i.e. the ideal sentence length. On either side of that ideal length you can customize how much punishment will be given, by providing the coefficients of a basic quadratic equation: ax^2+bx+c The default morph target punishments graph looks like this:
"am-score-terms" extra fieldThis new extra-field shows all the individual terms of the score given to cards, making it easier to debug/adjust the algorithm to fit your needs. |
New testing build: 3.0.0-testing-2 (google drive) Changelog
|
New testing build: 3.0.0-testing-3 (google drive)
Changelog
In future versions the "Morph Prioirity: Lemma" option will be renamed, and it will be moved to a new "General" tab in the settings. EDIT: |
V3 will be released on friday at ~20:00 GMT+1 If you are upgrading directly from any of the test versions then you will probably experience a crash because of a change in the configs, here is how you fix/prevent that crash: anki-morphs/ankimorphs/ankimorphs_config.py Lines 806 to 811 in de32a02
|
There are some improvements to the current features and design that will break backwards compatibility, and they should be released at the same time:
discard changes
message boxnew configs detected
message boxtags reset
after discarding changesrecalc_offset_new_cards
) makes them too rigid. Fixing this would cause a very hard backwards compatibility break.am-unknowns
->am-unknown-morphs
am-unknowns-count
->am-unknown-morphs-count
am-unknowns
) AnkiMorphs V3 #224 (reply in thread)browse am-unknowns
->browse am-study-morphs
text_highlighting.py
morph-inflection
header from only lemma file*-priority
columnspytest-cov
fields
from theCards
sql-tablecaching.py
morph_priority_utils.py
a
coefficients -> 6card_score.py
frequency file
->priority file
frequency file generator
The text was updated successfully, but these errors were encountered: