edu.stanford.nlp.parser.ui.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
/**
*
* 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 ([email protected])
* @author Huy Nguyen ([email protected])
*
*/
package edu.stanford.nlp.parser.ui;