Is there a way to export learned Verbs and Adjectives?

To answer your original question you can get a CSV of the items you have learned by putting this in your web console (hit F12 then click on “Console”). It will download a CSV containing all the verbs and adjectives that you have learned on WK. The fields are the word in kanji, the meanings, the readings, and the parts of speech.

let items = await wkof.ItemData.get_items('assignments');
let learned = items.filter(a=>a.assignments&&a.assignments.started_at);
let by_pos = learned.filter(a=>a.data.parts_of_speech&&a.data.parts_of_speech.find(b=>b.includes('verb')||b.includes('adjective')));
let mapped = by_pos.map(a=>[a.data.characters, '"'+a.data.meanings.map(b=>b.meaning).join(', ')+'"', '"'+a.data.readings.map(b=>b.reading).join(', ')+'"', '"'+a.data.parts_of_speech.join(', ')+'"']);
let csv_content = mapped.map(a=>a.join(',')).join('\r\n');
let encodedUri = encodeURI("\uFEFF"+csv_content);
let link = document.createElement("a");
link.setAttribute("href", 'data:text/csv; charset=utf-8,'+encodedUri);
link.setAttribute("download", "my_data.csv");
document.body.appendChild(link);
link.click();
document.body.removeChild(link);

EDIT: You need WKOF installed for this to work

6 Likes