edu.stanford.nlp.trees
Class WordCatConstituent

java.lang.Object
  extended by edu.stanford.nlp.trees.Constituent
      extended by edu.stanford.nlp.trees.SimpleConstituent
          extended by edu.stanford.nlp.trees.LabeledConstituent
              extended by edu.stanford.nlp.trees.WordCatConstituent
All Implemented Interfaces:
Label, Labeled, Scored

public class WordCatConstituent
extends LabeledConstituent

A class storing information about a constituent in a character-based tree. This is used for evaluation of character-based Chinese parsing. The constituent can be of type "word" (for words), "cat" (for phrases) or "tag" (for POS).

Author:
Galen Andrew

Field Summary
static java.lang.String catType
           
static java.lang.String goodWordTagType
           
static java.lang.String tagType
           
 java.lang.String type
           
static java.lang.String wordType
           
 
Constructor Summary
WordCatConstituent(Tree subTree, Tree root, java.lang.String type)
           
 
Method Summary
 
Methods inherited from class edu.stanford.nlp.trees.LabeledConstituent
constituentFactory, factory, label, labelFactory, setFromString, setLabel
 
Methods inherited from class edu.stanford.nlp.trees.SimpleConstituent
end, setEnd, setStart, start
 
Methods inherited from class edu.stanford.nlp.trees.Constituent
contains, crosses, crosses, equals, hashCode, labels, score, setLabels, setScore, setValue, size, toSentenceString, toString, value
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public java.lang.String type

wordType

public static final java.lang.String wordType
See Also:
Constant Field Values

tagType

public static final java.lang.String tagType
See Also:
Constant Field Values

catType

public static final java.lang.String catType
See Also:
Constant Field Values

goodWordTagType

public static final java.lang.String goodWordTagType
See Also:
Constant Field Values
Constructor Detail

WordCatConstituent

public WordCatConstituent(Tree subTree,
                          Tree root,
                          java.lang.String type)


Stanford NLP Group