edu.stanford.nlp.trees
Interface HasWord

All Known Implementing Classes:
CategoryWordTag, NullLabel, Word

public interface HasWord

Something that implements the HasWord interface knows about words


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

Method Detail

word

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

Returns:
String the word value for the label

setWord

public void setWord(String word)
Set the word value for the label (if one is stored).

Parameters:
word - The word value for the label


Stanford NLP Group