beta version of pat's version of sentence compression