I used Google’s Text To Speech API to create mp3 files for each of the top 6000 Korean words, I then created a csv file using Perl and imported them into Anki.
The CSV file is imported as a cloze deletion card with the audio files as the extra field.
The code is here: https://github.com/wilyarti/anki-translator
This year I am focusing on learning Kotlin/C/JS and this is the first Kotlin script/program. I am finding Kotlin an easy transition from my mostly Go/Perl background.