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".


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

Constructor Detail

ButFilter

public ButFilter()
Method Detail

filter

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

hasValue

public boolean hasValue(String s,
                        String tagged_s)


Stanford NLP Group