nltk.sem.drt_glue_demo module

class nltk.sem.drt_glue_demo.DrsWidget[source]

Bases: object

__init__(canvas, drs, **attribs)[source]
clear()[source]
draw()[source]
class nltk.sem.drt_glue_demo.DrtGlueDemo[source]

Bases: object

__init__(examples)[source]
about(*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.

next(*e)[source]
postscript(*e)[source]
prev(*e)[source]
resize(size=None)[source]
nltk.sem.drt_glue_demo.demo()[source]