Skip to content

Searches in Epub Don't Work Properly #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brishtibheja opened this issue Mar 14, 2025 · 6 comments
Open

Searches in Epub Don't Work Properly #448

brishtibheja opened this issue Mar 14, 2025 · 6 comments

Comments

@brishtibheja
Copy link

In the ttu reader, sometimes searches don't work when both kana/kanji are present in a word. For example, in vol. 1 of「狼と香辛料」I found the word 「たたらを踏む」and when I searched it up I only got the JMdict entry which was also 「たたらを踏む」. However, when I searched for たたらをふむ I found entries from other JP-JP dictionaries which listed this word as 「蹈鞴を踏む」.

@mathewthe2
Copy link

mathewthe2 commented Mar 15, 2025

This issue exists in Yomichan/Yomitan as well.

If we look at the (legacy) dictionary entries, they share the same sequence 1891340.

[
   "たたらを踏む",
   "たたらをふむ",
   "exp v5m",
   "v5",
   -200,
   [
      "to stumble a step or two forward (when trying to stop)",
      "to pass one's destination and stumble a step or two forward",
      "to totter"
   ],
   1891340,
   ""
],
[
   "踏鞴を踏む",
   "たたらをふむ",
   "exp v5m",
   "v5",
   -10200,
   [
      "to stumble a step or two forward (when trying to stop)",
      "to pass one's destination and stumble a step or two forward",
      "to totter"
   ],
   1891340,
   ""
],
[
   "蹈鞴を踏む",
   "たたらをふむ",
   "exp v5m",
   "v5",
   -20200,
   [
      "to stumble a step or two forward (when trying to stop)",
      "to pass one's destination and stumble a step or two forward",
      "to totter"
   ],
   1891340,
   ""
]

It's definitely possible to show all entries with the same sequence, but something like かける (sequence 1207610) has ~50 entries.

I could see an additional reveal button to show the full list of words.

I wonder if anyone has brought this issue up with yomichan/yomitan.

@brishtibheja brishtibheja changed the title Searches in Epub Doesn't Work Properly Searches in Epub Don't Work Properly Mar 15, 2025
@brishtibheja
Copy link
Author

brishtibheja commented Mar 15, 2025

I reported it there: yomidevs/yomitan#1884

It's probably the most annoying issue for my immersion. Hopefully, someone finds an easy fix.

@mathewthe2
Copy link

mathewthe2 commented Mar 15, 2025

I know in certain dictionaries they show all the variants below the main entry.

たたらを踏む
~ 踏鞴を踏む | 蹈鞴を踏む

Depending on the db structure, re-indexing for the sequence field may be needed. Ultimately, it's up to the developer to decide how to present the information in the app.

@YoriJaski
Copy link

I know in certain dictionaries they show all the variants below the main entry.

Which dictionaries do that?

@mathewthe2
Copy link

I know in certain dictionaries they show all the variants below the main entry.

Which dictionaries do that?

https://apps.apple.com/us/app/imiwa/id288499125?platform=iphone

Image

@brishtibheja
Copy link
Author

Another dictionary you can use: 漢字使い分け.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants