[Userscript] Wanikani Item Inspector

I dont remember if I have asked in this thread :frowning:

I want to know if I can compare two kanji to be side by side so I can see right away the difference

I see that my latest reviews I keep confusing kanji in the vocab for ‘quit’ with the one in ‘retire’. And the niai doesnt show them, but for me they are similar somehow.

Any option or config I can do this?

The closest you can get is the following:

Select the All Learned Items table. This will restrict your search to the items for which you had a lesson.

Make sure you are in list mode with the concentric circles button. This will make sure items are displayed big enough to be compared visually.

Listmode

Pick the Global Search filter in the Temporary Filters dropdown. Type in the search term for your kanjis separated by commas.

global

This will bring up all items that are responsive to the search. The ones you want are in the list and they are close enough to be compared as if they were side by side.

1 Like

Version 1.21.0 is out - Please download it at the link in the top post.

This version addresses a number of issues including those reported by @mysticfirecat

  1. Some of the data used by Item Inspector has been updated to address the new items added to Wanikani. The updates target

    • The stroke order diagrams
    • The stroke count data
    • The Reading by type data

    Bugs resulting from incomplete data are now resolved.

  2. New information for table entries and export columns are now available.

    • Readings onyomi
    • Readings kunyomi
    • Readings nanori

    This information is available for kanji only. For vocabulary you need to use Reading by Type.

  3. The Leech Training Emulation function has been reworked to fix several bugs that plagued it. The semantics of the Size Of Training Selection parameter has been changed. Previously this parameter covered the entire size including base items and visually similar items for them. Now only the base items are counted. Visually similar items are added on top of them.

This is perfect, thank you! The only thing it doesn’t address is the primary reading/type, but I can interpolate that by separating the first reading from the “readings by type (on kun)” via delimiters, since the first one is always primary. The bigger PITA was trying to break that entire list into sub-lists based on type…and now I don’t have to!

Thanks so much for the quick bug fix, and especially for adding these extra exports. Quick work too! :smiley:

1 Like

A tip: the Reading Brief info return the first primary reading found. I am not sure if there are cases where more than one primary reading exists.

Version 1.21.1 is now available - Please update it at the link in the top post.

This version repairs a pair of issues.

  • The Reading Brief information is updated to display all primary readings of an item, not just the first one. This should address the issue raised by @mysticfirecat

  • Solves a bug in leech trainer emulation that caused some items not to be displayed when they should.

I have a question about exporting to csv. So here’s my set-up:

Under Settings > Tables > Table Settings > Export I have the following Exported Columns:

Column 1 Item
Column 2 Reading Full
Column 3 Meaning Full

Within the resulting file, if the item has more than one reading, a column will contain a mix of readings and meanings:

What export settings should I use so that the meanings and readings will not be on the same column? Thanks.

With a properly working setup the expected output is to have all readings in the same columns separated by commas and all meanings in the same column separated by commas.
Item Inspector does not attempt to place individual readings and meanings in separate columns.

export

Which separator are you using? Item Inspector and your spreadsheet should be set up to match their separators. If they don’t match incorrect output like this may happen.

The default separator for Item Inspector is horizontal tabs. If you set up your spreadsheet to use this you shouldn’t have this problem.

Your output looks like you may be using commas as the separator. If you use commas as separator you must request quotes to be either “Only When Needed” or “Always Use Quotes” in Item Inspector and set up your spreadsheet to use double quotes to delimit text fields.

1 Like

My initial settings were Horizontal tab with no quotes (the default setting afaik). Setting it to Commas with “only when needed” quotes fixed the issue. Thank you.

1 Like

Version 1.21.2 is now available - Please update it at the link in the top post.

Fixes problems with icons caused by a recent Wanikani site change.

2 Likes

Version 1.21.3 is now available - Please update it at the link in the top post.

Fixes Breeze Dark styling for Keisei explanations.

Version 1.21.4 is now available - Please update it at the link in the top post.

Removes an unwanted popup in some radical items.

Big thanks to @viet for the tip on how to do this.

Hi I exported all vocab and pasted them in to Google sheets. I arranged them in order of smallest to largest. but when ever I select delete duplicates, I am only able to delete the duplicates in one row, and when I do, it also bunches the items together so they are no longer matching with the adjacent Coolum
do you know how I can delete duplicates and keep the blank spaces of the deleted items?

Would it be possible to add a function to the exporter so that for words with multiple sentences, it would only export 1 sentence per word and the sentence that is exported is the most shortest sentence that word has?

Thank you

I don’t understand what you try to do.

I there any reason you can’t use the same row option for context sentences? That way you won’t get any duplicates.

export

Sorry but no. This script is overwhelmed with features and complexity. I don’t want to add a feature that will likely be used by only one user.

because I want to make sentence cards in anki using wanikani vocab. I don’t want all three sentences as some of them can be convoluted and long. I only want to rep the shortest sentences. I currently have 6000 Vocab cards I am repping in Anki. I would like to rep them as sentence cards. if I have to memorize 3 sentences per card I will have 18,000 reviews instead of 6000.

So then what’s the point of having ‘separate row’ function and a ‘same row’ function, if when importing in to Anki it doesn’t let you choose which sentences you want to import from sentence row 1,2,3 it just imports all of them. what I’m suggesting would make so that after you open the list in spreadsheet you could then use the auto sort function to sort the sentences by shortest first. and be able select sentences from ex 1,2,3 only.

I understand better now. This is something other people will use. I will make the feature you suggest. It will take a bit of time though.

2 Likes

Thank you! :slight_smile:

1 Like

Version 1.22.0 is now available - Please download it at the link in the top post.

This version implements the feature requested by @SARUOU It shows up in the Context Sentences Format dropdown from the export settings.

export

4 Likes

Awesom thank you! :slight_smile:

1 Like

I am happy because this happened:

GreatTopic

Thank you everybody who liked my topic. Your support is part of what make Item Inspector great.

8 Likes