Integrated tags to notes for filtering in Anki.
--- a/py/gadict_srs_anki.py Tue May 12 15:49:52 2020 +0300
+++ b/py/gadict_srs_anki.py Wed May 13 01:46:28 2020 +0300
@@ -531,7 +531,7 @@
for sense in translations:
write_sense(buf, sense, with_examples=False)
reverse_from = "".join(buf) # without examples!!
- BUILDER.add_note(identity, unambiguous, direct_from, direct_to, reverse_from, freqmsg)
+ BUILDER.add_note(identity, unambiguous, direct_from, direct_to, reverse_from, freqmsg, freqtags)
if v1 and v2 and v3 and RICH_MODE:
riddle1 = u"<span class='headword'>{}</span> <span class='pron'>[{}]</span> <span class='attrs'>v1</span>".format(v1[0], v1[1])
riddle2 = u"<span class='headword'>{}</span> <span class='pron'>[{}]</span> <span class='attrs'>v2</span>".format(v2[0], v2[1])