rita.support.me
Class RiParseConstit

java.lang.Object
  extended by opennlp.tools.parser.Parse
      extended by rita.support.me.RiParseConstit
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class RiParseConstit
extends opennlp.tools.parser.Parse

Data structure for holding parser constitents.


Constructor Summary
RiParseConstit(java.lang.String text, opennlp.tools.util.Span span, java.lang.String type, double p, int i)
           
RiParseConstit(java.lang.String text, opennlp.tools.util.Span span, java.lang.String type, double p, RiParseConstit h)
           
 
Method Summary
 void insert(opennlp.tools.parser.Parse constituent)
          Inserts the specified constituent into this parse based on its text span.
 
Methods inherited from class opennlp.tools.parser.Parse
add, addNextPunctuation, addPreviousPunctuation, addProb, adjoin, adjoinRoot, clone, clone, cloneRoot, compareTo, complete, expandTopNode, fixPossesives, getChildCount, getChildren, getCommonParent, getDerivation, getHead, getHeadIndex, getLabel, getNextPunctuationSet, getParent, getParts, getPreviousPunctuationSet, getProb, getSpan, getTagNodes, getTagSequenceProb, getText, getType, indexOf, isChunk, isChunk, isFlat, isPosTag, main, parseParse, parseParse, pruneParse, remove, setChild, setDerivation, setLabel, setNextPunctuation, setParent, setPrevPunctuation, setType, show, show, showCodeTree, toString, updateHeads, updateSpan, useFunctionTags
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RiParseConstit

public RiParseConstit(java.lang.String text,
                      opennlp.tools.util.Span span,
                      java.lang.String type,
                      double p,
                      RiParseConstit h)

RiParseConstit

public RiParseConstit(java.lang.String text,
                      opennlp.tools.util.Span span,
                      java.lang.String type,
                      double p,
                      int i)
Method Detail

insert

public void insert(opennlp.tools.parser.Parse constituent)
Inserts the specified constituent into this parse based on its text span. This method assumes that the specified constituent can be inserted into this parse.

Overrides:
insert in class opennlp.tools.parser.Parse
Parameters:
constituent - The constituent to be inserted.