edu.stanford.nlp.process
Class WordExtractor
java.lang.Object
edu.stanford.nlp.process.WordExtractor
- All Implemented Interfaces:
- Function
- public class WordExtractor
- extends Object
- implements Function
Pulls the word String from a Word.
- Author:
- Joseph Smarr (jsmarr@stanford.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordExtractor
public WordExtractor()
apply
public Object apply(Object in)
- Returns ((Word)in).word().
- Specified by:
apply
in interface Function
Stanford NLP Group