edu.washington.cs.knowitall.extractor.mapper
Class SentenceStartFilter

java.lang.Object
  extended by edu.washington.cs.knowitall.extractor.mapper.Mapper<T>
      extended by edu.washington.cs.knowitall.extractor.mapper.FilterMapper<java.lang.String>
          extended by edu.washington.cs.knowitall.extractor.mapper.SentenceStartFilter

public class SentenceStartFilter
extends FilterMapper<java.lang.String>

Filters out sentences that do not start with a capital letter or number (ignoring single quotes, double quotes, and whitespace).

Author:
afader

Constructor Summary
SentenceStartFilter()
           
 
Method Summary
 boolean doFilter(java.lang.String sent)
           
 
Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.FilterMapper
doMap
 
Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.Mapper
disable, enable, isEnabled, map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceStartFilter

public SentenceStartFilter()
Method Detail

doFilter

public boolean doFilter(java.lang.String sent)
Specified by:
doFilter in class FilterMapper<java.lang.String>