Lyric analyzer and generator