edu.stanford.nlp.process
Class WordExtractor

java.lang.Object
  extended byedu.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)

Constructor Summary
WordExtractor()
           
 
Method Summary
 Object apply(Object in)
          Returns ((Word)in).word().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordExtractor

public WordExtractor()
Method Detail

apply

public Object apply(Object in)
Returns ((Word)in).word().

Specified by:
apply in interface Function


Stanford NLP Group