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 String catType
           
static String goodWordTagType
           
static String tagType
           
 String type
           
static String wordType
           
 
Constructor Summary
WordCatConstituent(Tree subTree, Tree root, 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 String type

wordType

public static final String wordType
See Also:
Constant Field Values

tagType

public static final String tagType
See Also:
Constant Field Values

catType

public static final String catType
See Also:
Constant Field Values

goodWordTagType

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

WordCatConstituent

public WordCatConstituent(Tree subTree,
                          Tree root,
                          String type)


Stanford NLP Group