edu.stanford.nlp.classify
Class RemoveSpacesFilter
java.lang.Object
|
+--edu.stanford.nlp.classify.RemoveSpacesFilter
- All Implemented Interfaces:
- Filter
- public class RemoveSpacesFilter
- extends Object
- implements Filter
This filter removes the spaces in the middle of the POS tags, so
that tokenization will happen properly.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveSpacesFilter
public RemoveSpacesFilter()
filter
public String filter(String s)
- Specified by:
filter
in interface Filter
Stanford NLP Group