nltk.DependencyGraph.triples

DependencyGraph.triples(node=None)[source]

Extract dependency triples of the form: ((head word, head tag), rel, (dep word, dep tag))