Does anyone have a complete list of the Hebrew Vocab?
This is the closest I could find: https://duolinguists.wordpress.com/2022 ... vocab-pdf/, however, it is not stored in JSON. The Memrise course is also incomplete by several hundred words.
The list on this site contains 2800 words, but the true value is much more words (including words such as fish) https://ardslot.com/duolingodata.html
The best possible way would be this. Someone who has completed the Duolingo course runs the following code.
- First login, and get your JWT in JS through the browser console.
Code: Select all
document.cookie.match(new RegExp('(^| )jwt_token=([^;]+)'))[0].slice(11);
- Run this code in the terminal
Code: Select all
pip3 install requests
- Then, this is the trickier part - create a repository. Download the duolingo.py file to the repo from GitHub. Then create another file in the repo, test.py, and put the following code in it. Note here how the JWT from before has to be entered alongside your username.
Code: Select all
import duolingo
lingo = duolingo.Duolingo(username='username', jwt='the_jwt')
words = list(lingo.get_vocabulary(language_abbr='he')['vocab_overview'])
print(words, len(words))
- Run the following
Code: Select all
python3 test.py
I created a fork that fixes the JWT issue, so it should be able to work.
This can be run for all languages on Duolingo, in theory.
This data would be really helpful in making flashcards.
Thanks for making this site!