edu.stanford.nlp.trees
Interface HasCategory

All Known Implementing Classes:
Category, CategoryWordTag, NullLabel

public interface HasCategory

Something that implements the HasCategory interface knows about categories


Method Summary
 String category()
          Return the category value of the label (or null if none).
 void setCategory(String category)
          Set the category value for the label (if one is stored).
 

Method Detail

category

public String category()
Return the category value of the label (or null if none).

Returns:
String the category value for the label

setCategory

public void setCategory(String category)
Set the category value for the label (if one is stored).



Stanford NLP Group