Package edu.stanford.nlp.parser.ui Description
This package contains graphical user interface components for parsing sentences
with parser created using lexparser.LexicalizedParser.
ParserPanel is a component that can also has a main() method that allows it to
be run as an app. To run, on the command-line, type:
java ParserPanel [parser] [data file]
[parser] and [data file] are two optional parameters that allow the
user to specify at the command-line the path to a serialized parser and a text
data file respectively. If no parser is specified at the command-line, the user
must first load a parser by clicking on the "Load Parser" button before they can
parse sentences.
TreeJPanel is a component for displaying edu.stanford.nlp.trees.Tree objects. To
display a tree, simply use the setTree(Tree tree) method.
- Author:
- Dan Klein (klein@cs.stanford.edu), Huy Nguyen (htnguyen@stanford.edu)