Uses of Class
up.Tree

Uses of Tree in up
 

Methods in up that return Tree
 Tree Backpointer.extract(Grammar grammar)
          Return the tree specified by this backpointer.
 Tree MyParser.getBestParse(java.util.List<java.lang.String> words)
          Returns a best parse tree for the specified word sequence.
 Tree Parser.getBestParse(java.util.List<java.lang.String> words)
          Returns a best parse tree for the specified word sequence.
 Tree SimpleParser.getBestParse(java.util.List<java.lang.String> tokens)
           
 Tree StupidParser.getBestParse(java.util.List<java.lang.String> tags)
          Returns a dummy parse tree for the specified tag sequence.
 Tree Tree.getCopy()
          Returns a copy of this tree.
 Tree Tree.getCopy(TreePredicate predicate)
          Returns a copy of this tree, ignoring subtrees to which the specified predicate applies.
 Tree Tree.getLeftmostSubtree()
          Returns the leftmost immediate subtree of this tree.
 Tree Tree.getLeftSibling()
          Returns the left sibling tree of this tree.
 Tree Tree.getRightmostSubtree()
          Returns the rightmost immediate subtree of this tree.
 Tree Tree.getRightSibling()
          Returns the right sibling tree of this tree.
 Tree Tree.getSupertree()
          Returns the immediate supertree of this tree.
 Tree Tree.splice(TreePredicate predicate)
          Returns a copy of this tree, with all nodes to which the specified predicate applies spliced out.
 Tree TreeTransformer.transform(Tree tree)
          Transform the specified tree.
 

Methods in up that return types with arguments of type Tree
 java.util.List<Tree> Tree.getLeaves()
          Returns the leaves of this tree.
 java.util.Deque<Tree> Tree.getSubtrees()
          Returns the subtrees of this tree.
 

Methods in up with parameters of type Tree
 void Tree.addAsLeftmostSubtree(Tree tree)
          Adds the specified tree as the leftmost subtree of this tree.
 void Tree.addAsRightmostSubtree(Tree tree)
          Adds the specified tree as the rightmost subtree of this tree.
 void Tree.addLeftSibling(Tree tree)
          Adds the specified tree as a left sibling to this tree.
 void Tree.addRightSibling(Tree tree)
          Adds the specified tree as a right sibling to this tree.
 boolean TreePredicate.applies(Tree tree)
          Tests whether this predicate applies to the specified tree.
 void TraversalHandler.enter(Tree tree)
          Receives notification that the specified tree has just been entered.
 void TraversalHandler.leave(Tree tree)
          Receives notification that the specified tree is about to be left.
 void DefaultTreeHandler.next(Tree tree)
          Notifies the successor of this handler about the specified tree.
 void GrammarExtractor.next(Tree tree)
           
 void NullTreeHandler.next(Tree tree)
          Does nothing.
 void ParserHandler.next(Tree tree)
           
 void TransformerHandler.next(Tree tree)
          Transforms the specified tree and sends it to the next handler in the chain.
 void TreeCounter.next(Tree tree)
           
 void TreeHandler.next(Tree tree)
          Receives notification about the next tree in the stream.
 void TreePrinter.next(Tree tree)
           
 Tree TreeTransformer.transform(Tree tree)
          Transform the specified tree.
 void BracketScorer.update(Tree gold, Tree parsed)
          Updates the scores with the specified gold and parsed tree.