Finished version parser and fixed small bugs in the dependency parsing