Skip to content
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

Preserve original katakana matches #978

Closed
birtles opened this issue Aug 9, 2022 · 0 comments
Closed

Preserve original katakana matches #978

birtles opened this issue Aug 9, 2022 · 0 comments

Comments

@birtles
Copy link
Member

birtles commented Aug 9, 2022

Reported by email:

When hovering over a word that has multiple surface forms in jmdict, 10ten displays all of them, starting with the form that the user is hovering over. But there's one exception to this: entries that have separate hiragana and katakana and surface forms (e.g. バカ売れ/ばか売れ, ガタガタ/がたがた). In this case, 10ten always shows the hiragana form first, and doesn't show the katakana form at all for kana-only entries.

I've fixed this locally by brute force, but I'd like to see if there's a more elegant approach.

A few test cases:

  • バカ売れ
  • バカ売れした
  • バカ売れシタ
  • サボった
  • サボッタ
  • ガタガタ
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

1 participant