What is the medication for someone suffering from wernike-korsakoff syndrome?

Not much. Wernicke-korsakoff syndrome is a late complication of severe alcoholism caused by chronic thiamine deficiency. It is characterized by severe memory deficiency and difficulty speaking intelligently. "word salad" describes the random sentences they sometimes make. There is no definitive treatment although quitting alcohol is a must and taking thiamine supplements can help. See your doc for more.