def conll_demo():
 dg = DependencyGraph(conll_data1)
 tree = dg.tree()
 tree.pprint()
 print(dg)
 print(dg.to_conll(4))

def conll_demo ( ) : dg = DependencyGraph ( conll_data1 ) tree = dg . tree ( ) tree . pprint ( ) print ( dg ) print ( dg . to_conll ( 4 ) )
a demonstration of how to read a string representation of a conll format dependency tree .