My Russian instructor hands out dialogues from our textbook with words replaced with underscores, and I found this to be a good way for me to memorize words from dialogues. I decided to re-create this with a Python script. It works for English and Russian. I haven’t bothered testing with other languages, but let me know if you run into any issues by posting an issue.
Our church pastor recommends this same method for memorizing bible verses. Here, http://argw.com/bible is a prototype web page from a few years ago that does similar thing.
You read the verse then start removing words. Repeat verse. Remove another verse. Etc.
Seems to work and could probably be applied in many domains.