hash for tree-string to depRel