Chinese Wisdom GeneratorBernd09/17/2020 (Thu) 06:07:57No.40142del
Berdn, how would we make one? Well, actually I have an idea how, and I can put it into practice, make a website out of it, or at least a html based application. It would be very simple, some nice background, made from a Chinese style wallpaper grabbed from some wallpaper site, in the middle there would be picrel, a field for the generated text, and a GENERATE button. The JS powering it would select words from lists based on a wisdom template. I need held with the templates(s) and the word lists. Ofc I don't mind if Bernd would chip in with the code, but I think that part is the least of the problem.
The wisdom template would be example sentences, where each word could be exchanged to another from the lists related to the word. For example: "A sleepy tiger is the wind of the rice field" so based on this the pattern would be: [adjective][eastern zodiac sign][one of the elements][noun] with changing the elements - each based on a list, we would get: "The funny rat is the earth of the tea pot"
After creating the templates, and lists, the script would randomly pick a template, then randomly pick each element of it. Well, this is one way to do it, I have another idea of implementation, gonna get back to this in the evening.