stephenmk / Jitendex

A free, offline, and openly licensed Japanese-to-English dictionary. Updates weekly!
https://jitendex.org
Creative Commons Attribution Share Alike 4.0 International
266 stars 3 forks source link

Remove Yomitan redirections for search keys with trivial kana differences #103

Open stephenmk opened 1 month ago

stephenmk commented 1 month ago

Related issue: #78

When scanning 黒ヤギ, Yomitan automatically converts to hiragana and searches for both "黒ヤギ" and "黒やぎ". This causes an undesirable "redirected from 黒やぎ" message to appear under the heading for "黒ヤギ" even though no such redirection was actually intended.

I need to remove these automatic redirections for these sorts of trivial conversions that are already handled by Yomitan.

kuroyagi

stephenmk commented 6 days ago

This will more-or-less be fixed in the next version of jitendex. I've disabled the redirects for the trivial all-hiragana and all-katakana conversions. There are probably some not-so-trivial conversions I could also disable since Yomitan is able to automatically redirect something like くせー to 臭い. But I guess this is good enough for now.

This will also prevent the ugly bug described here from occurring for queries like ホシ.

kuroyagi