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

Definitions in Japanese #504

Open
arBalasquide opened this issue Jan 28, 2021 · 5 comments
Open

Definitions in Japanese #504

arBalasquide opened this issue Jan 28, 2021 · 5 comments

Comments

@arBalasquide
Copy link

Hello, I would like to get the definitions of words in Japanese rather than English (or the other available options). What files in this repo handle the fetching of the definition? Since theres support for other language, I assume its rather feasible to do this so any pointers on how to achieve this would be appreciated. Thank you in advance.

@birtles
Copy link
Member

birtles commented Jan 28, 2021

Hi! I'm afraid it's not quite so simple to add other dictionaries, but I would love to do it. Do you know of a freely available J-J dictionary?

@arBalasquide
Copy link
Author

Hi! I'm afraid it's not quite so simple to add other dictionaries, but I would love to do it. Do you know of a freely available J-J dictionary?

I see, I tried reading the source code but couldn't figure it out lol. I can only think of this one: https://dictionary.goo.ne.jp/
Is there a specific format you need the dictionary to be?

@birtles
Copy link
Member

birtles commented Jan 29, 2021

I see, I tried reading the source code but couldn't figure it out lol. I can only think of this one: https://dictionary.goo.ne.jp/
Is there a specific format you need the dictionary to be?

Yeah, unfortunately that's using デジタル大辞泉 which, as far as I know, isn't free. I have a long-term plan to support this, but it's pretty long term.

@arBalasquide
Copy link
Author

Yeah, unfortunately that's using デジタル大辞泉 which, as far as I know, isn't free. I have a long-term plan to support this, but it's pretty long term.

I tried looking for one and it seems all are proprietary. However, perhaps maybe it would be best for the long term to make it easier to add dictionaries to then add a feature where users can import their own custom dictionary?

@Kala-J
Copy link

Kala-J commented Mar 2, 2021

It's been mentioned before, but the Japanese wiktionary is pretty extensive. However, it is definitely lacking when it comes to expressions. For example, 道草を食う doesn't have its own entry (it is listed without a definition under the idioms section of くう), while デジタル大辞泉 has an entry with definition.

https://ja.wiktionary.org/wiki/くう
(You can get a sense of the state of affairs with the red links in the compounds/idioms sections, and compare with rikaichamp to see that most of them are in the J-E dictionary.)

I don't think it is available in an easily workable and parseable format, either.

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