nltk.draw.CFGEditor¶
- class nltk.draw.CFGEditor[source]¶
Bases:
objectA dialog window for creating and editing context free grammars.
CFGEditorimposes the following restrictions:All nonterminals must be strings consisting of word characters.
All terminals must be strings consisting of word characters and space characters.
- ARROW = 'Þ'¶