-
Notifications
You must be signed in to change notification settings - Fork 9
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
Dictionary structure #55
Comments
It's described by a schema in yomitan: https://github.com/themoeway/yomitan/blob/master/ext/data/schemas/dictionary-term-bank-v3-schema.json Just to make sure you're not doing more than you need, this is converting something other than kaikki, i.e. this is separate from tatuylonen/wiktextract#651? |
Thank you for the link. I'm unfortunately still having trouble parsing that schema. Is it obvious from that what maps to what in the lines that I previously commented? And thank you for your concern: this is a separate matter. I didn't mention it before because I was afraid to be instantly dismissed for being out of topic. I'm toying with the idea of making a Yomitan-compatible dictionary like yours from a website called lingq. Their entries are very simple in comparison to that schema:
There are some things like fragments (sort of "example sentence") that I'm still not sure where to put. |
Here's some more details: [
"居住者",
"きょじゅうしゃ",
"n",
"",
604,
[
"resident",
"inhabitant"
],
1717870,
"P news"
]
{
"type": "integer",
"description": "Sequence number for the term. Terms with the same sequence number can be shown together when the \"resultOutputMode\" option is set to \"merge\"."
}, idk really, probably safe to ignore, just set it to 0 |
I'm sorry if this is not the right place to ask.
I recently found this repository via wiktextract and I would like to do something similar for another API. I was browsing for a while but I could not find a description of the JSON entries that are used, like this one here.
I understand that the expected dictionary from Yomitan is something of the likes of:
Could you give me some headers? I've also tried the Yomitan repo but I could not find much information about it. Maybe it's a standard dictionary format that I'm unaware of?
The text was updated successfully, but these errors were encountered: