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.


Constructor Summary
RemoveSpacesFilter()
           
 
Method Summary
 String filter(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveSpacesFilter

public RemoveSpacesFilter()
Method Detail

filter

public String filter(String s)
Specified by:
filter in interface Filter


Stanford NLP Group