Package nltk :: Package draw :: Module cfg
[hide private]
[frames] | no frames]

Module cfg

source code

Visualization tools for CFGs.

Classes [hide private]
  ProductionList
  CFGEditor
A dialog window for creating and editing context free grammars.
  CFGDemo
Functions [hide private]
 
demo2() source code
 
demo() source code
 
demo3() source code
Variables [hide private]
  _CFGEditor_HELP = '\n\nThe CFG Editor can be used to create or...
Variables Details [hide private]

_CFGEditor_HELP

Value:
'''

The CFG Editor can be used to create or modify context free grammars.
A context free grammar consists of a start symbol and a list of
productions.  The start symbol is specified by the text entry field in
the upper right hand corner of the editor; and the list of productions
are specified in the main text editing box.

...