Interesting, thanks for sharing! This looks useful for new cards.
Though if you already have many cards where the frequency field should be fixed, I don’t think you can batch-fix it with Yomichan (as you mentioned).
I’m getting this error when trying to connect: (BCCWJ version offline)
Warning: ankiInserter.ankiSearchQuery doesn't include ankiInserter.ankiFrequencyFieldName.
You probably forgot to adjust the query or the frequency field name :)
Expression field and frequency are both correct. Any ideas?
EDIT: Okay, now it just miraculously started working without me changing anything Took a while to update 25k cards as well.
Just added info that the BCCWJ version is the long unit version.
There’s also a short unit version (wasn’t available in JSON as linked by Kumi).
We could offer an option to choose one of two or even add both to separate fields in future, though the long unit version is already 5MB.
There seems to be some confusion as to what short and long unit/version mean, with conflicting information on whether short or long version means compound use (さん in 田中さん) or isolated use (さん), and whether short occurrences are still counted in the long version:
It’s weird because さん is more common in short unit, but 弁護 (compare 弁護士) is more common in long unit.
Would be very helpful if someone knows this precisely.
I added some links for research in that issue.
By the way, there’s also a working anime frequency version in progress, the html just needs a few changes.
Looks nice, because there are apparently some common words not found in BCCWJ: