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 |
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
WordCatConstituent
public WordCatConstituent(Tree subTree,
Tree root,
String type)
Stanford NLP Group