nltk.draw.TreeView

class nltk.draw.TreeView[source]

Bases: object

__init__(*trees)[source]
resize(*e)[source]
destroy(*e)[source]
mainloop(*args, **kwargs)[source]

Enter the Tkinter mainloop. This function must be called if this demo is created from a non-interactive program (e.g. from a secript); otherwise, the demo will close as soon as the script completes.