Learn declensions using Wikidata via terminal.
- Python 3
- SPARQLWrapper:
pip install sparqlwrapper
As of now, initial support for some language has been added. You can add the languages manually by changing the code under line 52 with the Wikidata item of your desired languages. Moreover, hardcoded Italian language is used to display the name of case and name of grammar number. You can change the variable LANG
. English language (en
) is used as fallback one.
- Use system language instead of using a variable to define it
- Make the script translatable
- Create a website
I want to thank Luitzen and Tagishsimon for the query used to get the words and declensions