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

Retrieve data in different language than query string? #47

Closed
rraallvv opened this issue Dec 17, 2017 · 2 comments
Closed

Retrieve data in different language than query string? #47

rraallvv opened this issue Dec 17, 2017 · 2 comments

Comments

@rraallvv
Copy link

I'd come in handy if one could specify a different language for the definitions than the one used for the query string, a bit like a translator.

So for instance, when I want some translation for a word, I go to the Wiktionary search for that word's definition and then click the language I'm interested in.

Is this supported by JWKTL, or by the Wiktionary API for that matter.

@chmeyer
Copy link
Member

chmeyer commented May 4, 2018

This is not supported right away, but you can easily built this by calling the API functions (i.e., retrieve the entry in one language, look up its translations choosing the target language of your choice, and then looking up this word in the target language). Mind that Wiktionary does not disambiguate the translation targets. In a different project, we tried several scientific methods for this goal, see https://www.ukp.tu-darmstadt.de/data/lexical-resources/wiktionary/ontowiktionary/ and https://www.ukp.tu-darmstadt.de/data/lexical-resources/wiktionary/multilingual-sense-disambiguated-wiktionary/

@rraallvv
Copy link
Author

rraallvv commented May 5, 2018

@chmeyer thanks for the information, it's very much appreciated.

@rraallvv rraallvv closed this as completed May 5, 2018
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

2 participants