edu.stanford.nlp.trees
Class WordCatConstituent
java.lang.Object
edu.stanford.nlp.trees.Constituent
edu.stanford.nlp.trees.SimpleConstituent
edu.stanford.nlp.trees.LabeledConstituent
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
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 |
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
WordCatConstituent
public WordCatConstituent(Tree subTree,
Tree root,
java.lang.String type)
Stanford NLP Group