Package com.googlecode.whatswrong

The whatswrong package is the top-level package of What's Wrong With My NLP.

See:
          Description

Interface Summary
CorpusLoader.Listener A CorpusLoader.Listener listens to events of this loader.
EdgeLayout An EdgeLayout draws a set of edges onto a Graphics2D object.
EdgeTypeFilter.Listener Am EdgeTypeFilter.Listener is notified of changes to the set of allowed edge type strings.
NLPCanvas.Listener A NLPCanvas.Listener is notified whenever the canvas is redrawn or when a new instance has been set.
NLPCanvasRenderer An NLPCanvasRenderer renders a given NLPInstance to a Graphics object and returns the dimension of the created image.
NLPInstanceFilter An NLPInstanceFilter takes an NLPInstance and filters out edges, tokens, or token properties.
 

Class Summary
AbstractEdgeLayout An AbstractEdgeLayout serves as a base class for edge layout classes.
AlignmentRenderer A SingleSentenceRenderer renders an NLPInstance as a single sentence with spans drawn below the tokens, and dependencies above the tokens.
AppearancePanel An AppearancePanel controls the appearance of an NLPCanvas.
Bounds1D This class represents one dimensional bounds.
ControllerPanel ControllerPanel is a superclass for all controlling panels.
CorpusLoader A CorpusLoader is responsible for loading and managing corpora.
CorpusNavigator A CorpusNavigator allows the user to navigate through a corpus (or a diffed corpus) and pick one NLP instance to draw (or one difference of two NLPInstance objects in terms of their edges).
DependencyFilterPanel A DependencyFilterPanel controls a EdgeLabelFilter and a EdgeTokenFilter and updates an NLPCanvas after changes to the filters.
DependencyLayout A DependencyLayout lays out edges in a dependency parse layout.
Edge An Edge is a labelled and typed pair of tokens.
EdgeFilter An EdgeFilter is a NLPInstanceFilter that only filters out edges.
EdgeLabelFilter An EdgeLabelFilter filters out edges with a label that contains one of a set of allowed label substrings.
EdgeTokenFilter An EdgeTokenFilter filters out edges based on the properties of their tokens.
EdgeTypeFilter An EdgeTypeFilter filters out edges that do not have certain (prefix or postfix) types.
EdgeTypeFilterPanel An EdgeTypeFilterPanel controls an EdgeTypeFilter and requests an update for an NLPCanvas whenever the filter is changed.
FilterPipeline A FilterPipeline filters an NLPInstance by iteratively calling a sequence of delegate filters.
FilterTextField A text field for search/filter interfaces.
MoveWindow A MoveWindow is a small window without borders that can be dragged by the user.
NLPCanvas An NLPCanvas is responsible for drawing the tokens and edges of an NLPInstance using different edge and token layouts.
NLPDiff An NLPDiff object takes two NLPInstances, a gold and a guess instance, and compares the set of edges that both contain.
NLPInstance An NLPInstance represents a sentence or any other kind of utterance and some of its (NLP) properties.
SimpleGridBagConstraints A SimpleGridBagConstraints object is a GridBagConstraints object that can be created using a set of convenience constructors.
SingleSentenceRenderer A SingleSentenceRenderer renders an NLPInstance as a single sentence with spans drawn below the tokens, and dependencies above the tokens.
SpanLayout A SpanLayouy lays out edges as rectangular blocks under or above the tokens that the edge covers.
Token A Token represents a word in an utterance.
TokenFilter A Tokenfilter removes certain properties from each token and removes tokens that do not contain certain property values.
TokenFilterPanel A TokenFilterPanel controls a TokenFilter and updates a NLPCanvas whenever the filter has been changed.
TokenLayout A TokenLayout object lays out a collection of tokens in sequence by placing a stack of property values of each token at a position corresponding to the index of the token.
TokenProperty A TokenProperty represents a property of a token, such as the 'Word' or "PoS-Tag' property.
WhatsWrongWithMyNLP The WhatsWrongWithMyNLP class serves as main application class.
 

Enum Summary
Edge.RenderType The RenderType enum can be used to specify how the edge should be rendered.
NLPInstance.RenderType  
 

Package com.googlecode.whatswrong Description

The whatswrong package is the top-level package of What's Wrong With My NLP. It contains classes to represent NLP utterances as well as classes to display and compare them. The main application class is WhatsWrongWithMyNLP while the most important rendering class is likely NLPCanvas, which draws graphical representations of NLPInstance objects. Which instance of a corpus is chosen to be rendered is controlled by a CorpusNavigator. The CorpusLoader objects allow the user to pick one or two (for diff operation) corpora from a list of loaded corpora.

See Also:
WhatsWrongWithMyNLP, NLPCanvas, NLPInstance, CorpusNavigator, CorpusLoader


Copyright © 2010. All Rights Reserved.