Open pedipanol opened 1 year ago
While there is a request for Handlebar support #79 and it is possible to implement via MuJS, the effort it would take to implement versus the benefit it would add is too small for me to really be too be interested at the moment. If this were to get implemented, I'd rather it be through the extended marker syntax idea kicked around in #143.
Just to make sure I understand correctly, you want to only add the value of the first frequency dictionary without the name?
Yeah, it doesn't need to be a full implementation of the handlebar, if it can output just the first dicionary's value it would be enough for me!
Is this still being considered?
If it's not closed, I believe it should be implemented. I want this to use the marker syntax described in #143, so that would have to come first. I haven't worked much on feature requests in the last few years since I they don't affect my use case and I'm busier now than when I was a student.
I use a frequency sorting setup by Marv that involves a handlebar in yomichan to remove the dictionary name of the output and output only the highest priority dictionary's value (and adds a 999999 value if no frequency is found). With this all new words in Anki will be the ones you mined that have the highest frequency within the dictionary you're using.
I had this exact issue, which I mentioned in #202 as well.
As a temporary solution, I wrote a quick Anki add-on to trim your frequency field to the lowest value before inserting a card. https://codeberg.org/Sylphrena/AnkiFieldTrimmer
It essentially mimics what the handlebars do in yomichan. Let me know if you need help setting it up.
I use a frequency sorting setup by Marv that involves a handlebar in yomichan to remove the dictionary name of the output and output only the highest priority dictionary's value (and adds a 999999 value if no frequency is found). With this all new words in Anki will be the ones you mined that have the highest frequency within the dictionary you're using.
https://github.com/MarvNC/JP-Resources#sorting-mined-anki-cards-by-frequency
For now I just backfill them later, but an option for Memento to do that natively would be awesome.
That's pretty much the only nitpick I've had in using the program in the past week, keep up the great work!