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

dictionary service #5

Open
jakemclelland opened this issue Sep 18, 2017 · 0 comments
Open

dictionary service #5

jakemclelland opened this issue Sep 18, 2017 · 0 comments

Comments

@jakemclelland
Copy link
Owner

jakemclelland commented Sep 18, 2017

Save a configurable dictionary source such as http://www.nayiri.com/search?l=en&dt=HY_EN&query={word} as the dictionary source.

load the definitions in the background and present them on hover

or maybe google translate
https://translate.google.com/#hy/en/{word}
(look for span id="result_box")

in order to make this accommodate configurable future languages, we need an interface that includes the specified language in the url routing, a method to send the request, and a method to parse the results. This language should be modularized, and configurable so that the next language can simply be configured from the front end without any code changes if possible.

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

1 participant