lute-v3 icon indicating copy to clipboard operation
lute-v3 copied to clipboard

Mass term adding

Open Mycheze opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe.

I sometimes have some dead time in my day when I'd like to just "add more words to my dictionary." I don't really want to read, I just want to mindlessly add more terms and definitions so that when I come across them in reading, it's more seamless.

Describe the solution you'd like

To be able to enter a special view of a book where it only has each new/unknown word ONCE, in order of frequency. Then I can just go through them.

It'd also be cool to have the same, but in alphabetical order so that you might find word families and be able to "kill a bunch of birds with one copy and paste." (Add the head word, then copy it and paste it as a parent in the next 5-6 in the list)

Mycheze avatar Nov 19 '23 00:11 Mycheze

Hola @Mycheze - it's not exactly what you're looking for, but maybe with the existing features there's a workaround.

  1. use the language_export command line job https://jzohrab.github.io/lute-manual/usage/command-line-jobs.html to export your word frequencies for a language
  2. import the csv into google sheets
  3. Add filters, then filter for "status = -" and "books contains "
  4. sort however you want

Then create another list for import on another sheet, export that to csv, and import per https://jzohrab.github.io/lute-manual/usage/bulk-term-import.html

jzohrab avatar Nov 20 '23 17:11 jzohrab

Also, there's a "parent term mapping" thing in the menu (on my machine, http://localhost:5000/term_parent_map/index) that lets you export all of the unknown terms in a book. I've used this when processing new books to quickly create a pile of parent term mappings for things I already know, but maybe it will also help in other ways.

jzohrab avatar Nov 20 '23 18:11 jzohrab

Or were you envisioning a "mass input" page, sort of like a spreadsheet or list, that you'd work on directly in Lute? This is (much?) more work than just exporting and importing, I'm not sure how much at the moment.

jzohrab avatar Nov 27 '23 13:11 jzohrab

This is pretty much what the new "editable term listing" feature (#573) does, with some restrictions: it doesn't show a dictionary popup, doesn't let you enter images. The listing also doesn't yet support a "full-book" listing of terms though, which would get overwhelming if we just listed the terms. We would need to include some kind of "frequency number" in the query to not just present you with a mountain of data.

jzohrab avatar Jan 25 '25 19:01 jzohrab