Java Implementation for parsing word-word dependency relations.