| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
ShiftReduceApp
A graphical tool for exploring the shift-reduce parser. The tool
displays the parser's stack and the remaining text, and allows the user
to control the parser's operation. In particular, the user can shift
tokens onto the stack, and can perform reductions on the top elements of
the stack. A "step" button simply steps through the parsing
process, performing the operations that
nltk.parse.ShiftReduceParser would use.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
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. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 11 14:39:43 2011 | http://epydoc.sourceforge.net |