sschmidTU / anki-frequency-inserter

Inserts Japanese word frequencies from the InnocentCorpus into your Anki notes/cards.
5 stars 0 forks source link

Allow other names for frequency field name and expression source field #5

Closed sschmidTU closed 2 years ago

sschmidTU commented 2 years ago

Previously, the frequency field name (in your Anki cards) had to be "FrequencyInnocent", and the field from which a frequency was searched had to be "Front". This is now customizable by e.g.:

ankiInserter.setExpressionFieldName("Expression");
ankiInserter.setFrequencyFieldName("FreqInnocent");
sschmidTU commented 2 years ago

Done. (basically)

You can use URL parameters to not always have to change the field names again, e.g.: file:///C:/jp/code/AnkiFrequencyInserter/index.html?expressionFieldName=Expression&freqFieldName=FreqInnocent

image