Poetry Analysis Code