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

Add synonymer.se as a backend #47

Open
noooxxi opened this issue Jul 31, 2020 · 1 comment
Open

Add synonymer.se as a backend #47

noooxxi opened this issue Jul 31, 2020 · 1 comment

Comments

@noooxxi
Copy link

noooxxi commented Jul 31, 2020

Hi.

Please consider adding support for Swedish via the synonymer.se backend.

Thanks.

@Ron89
Copy link
Owner

Ron89 commented Aug 1, 2020

Hi @noooxxi ,

Thanks for your interests. To add a backend, you can create a python file in folder autoload/thesaurus_query/backends/. It can be picked up and loaded by the framework as long as this file has query() method to take queries, identifier and language to describe your backend name and language it is for.

For example, you can see the implementation using openthesaurus.de API for German thesaurus query:
https://github.com/Ron89/thesaurus_query.vim/blob/master/autoload/thesaurus_query/backends/openthesaurus_de_lookup.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants