nltk.DependencyGraph.nx_graph

DependencyGraph.nx_graph()[source]

Convert the data in a nodelist into a networkx labeled directed graph.