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

FYI: non-English editions data now available on https://kaikki.org (currently de, fr, es, ru, zh) #534

Open
tatuylonen opened this issue Mar 10, 2024 · 10 comments

Comments

@tatuylonen
Copy link
Owner

As you may have noticed, data from non-English editions is now available on kaikki.org (links on the front page).

The non-English edition extractions need more work, but please report problems as issues.

@brishtibheja
Copy link

brishtibheja commented May 17, 2024

Hey there, are you aware of kaikki to yomitan? They use the data extracted here to create dictionaries for use in Yomitan. Yomitan, a fork of Yomichan, enables language learners to instantly look up the meanings of words. Furthermore it also creates Anki cards for you so you can just focus on studying. Having said that, I contacted one of the persons maintaining KTY (kaikki to yomitan) to ask about the eng-jp versions but they have told me the data isn't available in kaikki. It would benefit me greatly if that was possible to extract for KTY. More specifically, he said

yes, kaikki only supports 6 wikt editions currently

I'm sorry if this is not the right place to ask, I'm not a dev and only use Github for reporting issues to the apps I use. I am aware of there being a place called "discussions" and I tried to find it but in vain.

@xxyzz
Copy link
Collaborator

xxyzz commented May 20, 2024

We currently don't have plan to extract the Japanese Wiktionary but I think en to ja dictionary could be created by using the translation data from English Wiktionary.

And the discussions feature for this repo is not enabled.

@kristian-clausal
Copy link
Collaborator

To extract a wiktionary project, we need someone who is able to interpret and understand the original Wiktionary articles (that is, they should know at least some Japanese), and then they'd need to do the same kind of work with it that @xxyzz has done with the others, which is definitely not trivial as he can attest.

@daxida
Copy link
Contributor

daxida commented May 27, 2024

Hello,

I'm considering contributing towards the Greek version. I understand that there are no current plans for other non-English languages, and I recognize that this would require a considerable amount of work, which I may not be able to fully commit to. Nonetheless, I would like to give it a try if that's acceptable.

I have only spent about an hour browsing the repository, but I couldn't find a clear roadmap or wiki outlining the necessary steps for this process. I'll wait for your response before diving in further. If it's feasible, I would appreciate some guidance on the direction I should take.

@xxyzz
Copy link
Collaborator

xxyzz commented May 27, 2024

You could take a look of the code in the extractor folder, all extractors code start from the parse_page() in page.py file. How extractor code are written depends on the Wiktionary's wikitext page layout: https://el.wiktionary.org/wiki/Βικιλεξικό:Δομή_λημμάτων

once figure out the general page layout, next step is creating a file contains section title data then start extracting data in each section.

@daxida
Copy link
Contributor

daxida commented May 27, 2024

Thank you. This is a lot of new information for me to digest. As I hinted before, are there any plans to establish a roadmap for contributing to new languages? I'm having trouble figuring out what to do, in which order, and how to test the progress.

Also, I'm not sure if I should continue this conversation here or if I should start a new issue or discussion.

@kristian-clausal
Copy link
Collaborator

We don't have a roadmap because the process has mostly been Tatu originally creating the extractor for en.wiktionary, and which continued bit by bit for ages and still goes on, and now xxyzz has been working on creating the extractors for other languages; we should use his process as the basis of roadmap, but that's been on the backburner.

Go ahead with a new discussion (now that we've got them, Tatu enabled them recently).

@brishtibheja
Copy link

As I hinted before, are there any plans to establish a roadmap for contributing to new languages?

This would be really helpful for all of us. I also expect others to contribute to the project including the Japanese wikitionary.

@empiriker
Copy link
Contributor

You might also want to take a look at the commits and the PRs where I lay the groundwork for the Spanish, German and Russian extractors.(Just filter by my user name)

This at least could give you a good idea of where to start and how to break it down into small steps.

Take this advice with a grain of salt though. While the "steps" should still be actionable to some extent, the code from back then almost certainly is not. As I understand, @xxyzz has done quite some work to improve and align the different extractors since then.

@daxida
Copy link
Contributor

daxida commented May 27, 2024

I actually already started doing that :D

I'm slowly trying to consume enough commits to get a clearer idea of the process.

If you will be so kind to chime in the related discussion and give a bit of feedback I (and I hope others in the same situation) would greatly appreciate it.

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

6 participants