edu.stanford.nlp.process
Class NumberFilter
java.lang.Object
|
+--edu.stanford.nlp.process.NumberFilter
- All Implemented Interfaces:
- Processor
- public class NumberFilter
- extends Object
- implements Processor
Filter which converts numbers to the word "*NUMBER*"
Method Summary |
Collection |
process(Collection in)
Takes an Iterator over a set of words and returns an Iterator over the same words with all the words transformed to lower case. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberFilter
public NumberFilter()
process
public Collection process(Collection in)
- Takes an Iterator over a set of words and returns an Iterator over the same words with all the words transformed to lower case.
- Specified by:
process
in interface Processor
Stanford NLP Group