From a language learning perspective, I think this is accomplished via memorization of complete sentences. I am building an SRS as a side project where you memorize complete sentences instead of single vocabulary words and your response is graded by an LLM so that you don’t lose points when your answer is not quite correct or differs slightly in prompt meaning. is that what you meant? I have had good luck using this technique for memorization of grammar rather than memorization of vocabulary.