edu.stanford.nlp.classify
Class ButFilter
java.lang.Object
|
+--edu.stanford.nlp.classify.ButFilter
- All Implemented Interfaces:
- Filter
- public class ButFilter
- extends Object
- implements Filter
This (very primitive) filter removes everything from the beginning of a
sentence until the word "but".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ButFilter
public ButFilter()
filter
public String filter(String s)
- Specified by:
filter
in interface Filter
hasValue
public boolean hasValue(String s,
String tagged_s)
Stanford NLP Group