Not long is how long that this rhyme took me
Update: The first generation of this program is now obsolete.
So, I wrote a program called Ranyoushuu that writes semi-random waka according to a style it learnt from reading the entire Manyoushuu. It produces remarkably believable lines, given that all it knows is:
- The chance each character has of being the very first character in a waka
- The chance each character has of following any other given character, within a ku
- The chance each character has of being the first character in a ku (except the first ku), given the last character of the previous ku
- The chance each character has of being the second-last character in a waka, given the third-last character. (New!)
- The chance each character has of being the very last character in a waka, given the second-last character.
Knowing these things, of course, we can produce the Most Likely Waka -- the Pythagorean (and Platonic!) Ideal of the waka, the sequence of Most Likely Characters produced when we ignore meaning entirely. And it is:
あらなくも
あらなくものの
あらなくも
あらなくものの
あらなくものを
Relentless, machine-like negativity, with a twist of wist at the end: waka, I unmask thee!
Anonymous:
Very cute idea! :)
The colour of the "ranyoushuu" header doesn't display correctly in my browser, because you forgot the hash sign in front of the hex tripplet. It should be '#FFDDD9' not 'FFDDD9', and so on.
(See http://www.w3.org/TR/CSS1#color-units for details)