Yep, I tried using Pinyin, and it worked. But I have to manually translate the output back to Chinese since Pinyin gives one to many mapping to Chinese characters. But it’s been interesting to do it myself :). Another question, if I understand it correctly, the sample output takes one word as the seed and generate a sequence of words following that word. Do you know how I can choose the seed by myself?