nltk.DependencyGraph.connect_graph

DependencyGraph.connect_graph()[source]

Fully connects all non-root nodes. All nodes are set to be dependents of the root node.