WASP (the Wishful Automatic Spanish Poet), is a rule-based system that automatically generates verses in Spanish – a family of programs that generate formal Spanish poetry, and a pedagogical application that is the current benchmark for exploring Computational Creativity in machine use of language. WASP builds correct formal Spanish poetry starting from very basic metric information. As more and more language resources are developed, additional levels of linguistic information slowly creep in (morphology, syntax, semantics).
The examples on PIW were produced by WASP after training on a collection of poems by Miguel Hernàndez, with approximate English translations.
A report on WASP in PDF: Computational Modelling of Poetry Generation