JaiWWW / JPDB-Export

Adds a button to export deck contents, plus some other minor changes (see readme for full details)
GNU General Public License v3.0
5 stars 2 forks source link

Add functionality to pull english definition, card status, and word frequency #12

Open r-hensley opened 1 year ago

r-hensley commented 1 year ago

This is my first contribution to a javascript project (I normally do Python) but it was pretty simple so I think it is fine.

Produces output like this:

image

"書","しょ","book;  document;  calligraphy (esp. Chinese);  penmanship;  handwriting;  letter","Locked","3800"
"前","まえ","in front (of);  before (e.g. a building);  before;  earlier;  (the) front;  frontal part;  forward","Locked","100"
"子ども","こども","child","Locked","2300"
"なんて","なんて","things like;  something like;  someone like;  such a thing as;  (the fact) that;  to think that","Blacklisted","100"
"の","の","indicates possessive;  nominalizes verbs and adjectives;  substitutes for ""ga"" in subordinate phrases;  (at sentence-end, falling tone) indicates a confident conclusion;  (at sentence-end) indicates emotional emphasis;  (at sentence-end, rising tone) indicates question","Blacklisted","100"

Tested on a deck with ~4000 cards.

Small notes: