A set of utils for dependency parsing