詩三唐百首 Tang Three Hundred Poems

What's this?

This generator generates a five-syllable rhyming jueju (quatrain) (五言絕句), based solely on the tonal metrical distribution of phrases in the anthology of Tang dynasty poems 《唐詩三百首》 Three Hundred Tang Poems. Poems are metrically well-formed, but not semantically nor syntactically well-formed. (And hence the title.)

The meter scheme of jueju stipulates the distribution of ping (平, "level") tones and shang (上, "rising"), qu (去, "departing"), and ru (入, "entering") tones (collectively ze (仄) tones). A "—" denotes a ping tone and a "|", a ze.

Sources:

Inspired by Matt Treyvaud ("No-sword"), who wrote a program called the 『乱葉集』 Ranyōshū (link) that generates a "semi-random waka" using the distribution of syllables in the classical Japanese poetry anthology 『万葉集』 Manyōshū).