Naive haiku generation with database connection