My changes are now on github.
I got rid of the old user interface. Most of your code pertained to this interface. Therefore I ended up replacing the bulk of your code. I hope you don’t mind it turned out this way.
I have changed the label of the filter to LY Visually Similar. ‘LY’ stands for Lar Yencken. This is to distinguish from the search filter WK Visually Similar I wrote that searches WK visually similar data.
The new interface just takes search terms separated by commas in the search box. There is no dialog in the settings anymore.
I expect people to type with an IME. Both latin and Japanese commas are accepted.
People may start their search terms with a real number between 0 and 1 separated from the search terms with a comma. Then only matches that have a score in the database that is greater or equal to that number will be returned. This number is optional. The default is 0, which returns all visually similar kanjis.
Both comma and period are accepted as a decimal separator for internationalization.
Both latin and Japanese numerals are accepted to support IME input. The period and comma decimal separators may also be both latin and Japanese.
Explaining all this makes for a lengthy hover tip. I don’t see a way to shorten it without removing information the user needs to know.
This thread top post should now be rewritten to include all this.
There is a typo in Lars Yencken name in the top post. Yencken needs a c.
According to Lars Yencken site the data is available under the Creative Commons Attribution 3.0 Unported license. This license requires that a link to license be posted somewhere. I suggest you include it in the top post for compliance.
Lars Yencken visually similar data now displays nicely in Item Inspector version currently in development thanks to the filter. It works fine in exports too.
I investigated the cache because I still had network delays. I found that the github server where the file comes from instructs the browser to age the cache after 600 seconds. For this file this is worthless. I found no way to override the server directive at the browser. I tried to setup headers that request the server to setup a longer ageing time. These requests are rejected by the server. I gave up on $.get() for these reasons. I use wkof.load_file() and manually age the cache after one month.