themoeway / yomitan

Japanese pop-up dictionary browser extension. Successor to Yomichan.
https://chromewebstore.google.com/detail/yomitan/likgccmbimhjbgkjambclfkhldnlhbnn
GNU General Public License v3.0
989 stars 76 forks source link

Is there a way to import dictionaries without using deconjugation? #989

Closed nuanjanP closed 2 months ago

nuanjanP commented 2 months ago

(Describe the feature or change)

Is there a way to import dictionaries into Yomitan, with the aim of not using automatic deconjugations (but still allow wildcard searches)?

My background is this: I use Yomitan solely for its search page, and can live without automatic deconjugations but would like wild card searches. Concretely for example, I'd like to be able to find 山猫 from *猫 but I'm fine with having to search for 行く myself when I see 行きます.

The reason I'm asking about skipping deconjugations is that, from my understanding, it is this capability that makes importing dictionaries take so long (and perhaps also eat up much more of the storage on the disk). Yesterday I imported a big dictionary (大辞林 第四版 from Shoui's Yomitan dictionaries collection) and it took 2 full hours to finish, with the only active application on my computer being Firefox running only 1 tab, namely Yomitan's setting page. During that time, I cannot use my computer at all. This is too much in my opinion.

So I figure if we can choose to import dictionaries with the assumption of not doing automatic deconjugations (but still doing wild card searches), I would appreciate it a lot.

Looking forward to hearing any opinion on this feature.

StefanVukovic99 commented 2 months ago

The premise is mistaken - the deinflection that happens for Japanese, marked with 🧩, is performed by yomitan on every lookup, regardless of dictionaries installed. image image Dictionaries can contain deinflection information, marked with 📖 when displayed, but I don't think any Japanese dictionaries make extensive use of that right now (as Japanese is agglutinative...)

That said, 2 hours is a lot. Check out #608, firefox is known to be slower I think, what are your device's specs compared to those in that issue? I've never tried the wildcard import but it probably exacerbates the import time

nuanjanP commented 2 months ago

Thank you for the clarification.

Comparing the specs, I'd say my laptop is on par with the android phone and way worse than the laptop in that issue. So perhaps it wasn't strange it took 2 hours. Well, I guess I'll adapt to the issue from next time on. :)

Thank you again for the swift answer.