Skip to content
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

Assigning a frequency coefficient to a card instead of a note. #7

Open
Zaxvatov opened this issue Dec 20, 2024 · 0 comments
Open

Assigning a frequency coefficient to a card instead of a note. #7

Zaxvatov opened this issue Dec 20, 2024 · 0 comments

Comments

@Zaxvatov
Copy link

I don’t quite understand how to solve this problem, but here’s the issue:

I am studying German, and my note contains multiple card types:

  1. Direct translation of the verb's infinitive
  2. Reverse translation of the verb's infinitive
  3. Direct translation of the past tense verb form in Perfekt
  4. Reverse translation of the past tense verb form in Perfekt
  5. Direct translation of the past tense verb form in Präteritum
  6. Reverse translation of the past tense verb form in Präteritum
  7. Spelling, etc.

It’s logical that each verb form has its own frequency coefficient. I think it would make sense to study cards of these notes based on their frequency coefficient.
For example, for a verb X, it might make more sense to start studying the Präteritum form first, rather than the infinitive, because the infinitive rarely occurs. At the very least, the study of cards in this note should begin with the most frequently used form.

To implement this, we would need to add a field with a frequency coefficient for each form. While these fields might be considered "clutter," that’s manageable.
But how should these fields be populated? Manually switching the target field in the add-on settings every time? That’s not very efficient, especially when new notes are constantly being added to Anki.

I think the only solution is to define an array of fields to be analyzed and a corresponding array of fields to record the coefficients. Something like:
Field X → Coefficient X
Field Y → Coefficient Y
Field Z → Coefficient Z
...and so on.

Alright, let’s assume we now have a set of frequency coefficient values for the cards within a single note. How do we sort the cards based on this coefficient? After all, Anki only allows one sort field, while here we’re dealing with an entire array.

Is it possible to create a custom sorting method? Or perhaps to modify the functionality of the Reposition feature?

As a last resort, it’s possible to export to Excel, sort there, and then import back into Anki.
This would be quite labor-intensive but at least feasible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant