Shift-reduce

Support for using the shift-reduce parser on arbitrary text and pre-tokenized and pre-tagged sentences.