nltk.sem.lfg module

class nltk.sem.lfg.FStructure[source]

Bases: dict

pretty_format(indent=3)[source]
static read_depgraph(depgraph)[source]
safeappend(key, item)[source]

Append ‘item’ to the list at ‘key’. If no list exists for ‘key’, then construct one.

to_depgraph(rel=None)[source]
to_glueformula_list(glue_dict)[source]
nltk.sem.lfg.demo_read_depgraph()[source]