-
Notifications
You must be signed in to change notification settings - Fork 238
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
Handling multiple entries for same headword DSL -> Yomichan #574
Comments
I don't know what others do, but the json format can not have duplicate keys. We can merge entries with same headword by just adding a horizontal line (like |
I think that would solve the problem perfectly, yeah. |
I pushed to branch |
Does it not support rich text at all? |
It looks like it is possible, but the format is a bit unintuitive. I took a look at the Jitendex Yomichan dictionary, and it looks like the tags are defined separately in the json, using "tag", "style" and "content" keys. Previously it would just convert it to plain text (just missing the second definition). Having html support would be great, but i think that's a separate issue. I'd be happy for now to just have the plain text as before but with both headwords combined into one. This is an example entry from the Jitendex dictionary with formatting:
|
I force-pushed to |
That is perfect, thank you! |
I also pushed to master branch. |
I have a DSL dictionary that has multiple entries for a single headword:
.. but when converting to a Yomichan dictionary, a suffix
(2)
is added to the second entry:When using the dictionary in Yomitan, the second entry never shows up unless i specifically search for
mos (2)
in the dictionary search screen.In GoldenDict, the DSL dictionary returns both results:
If Yomichan/Yomitan is unable to have duplicate headwords, would it not make more sense to merge them into one entry? Otherwise, the second result will never actually show up when using the dictionary.
The text was updated successfully, but these errors were encountered: