modified verse generation to not stop mid-sentence, end with an appropriate word