edu.washington.cs.knowitall.extractor.mapper
Class SentenceStartFilter
java.lang.Object
edu.washington.cs.knowitall.extractor.mapper.Mapper<T>
edu.washington.cs.knowitall.extractor.mapper.FilterMapper<String>
edu.washington.cs.knowitall.extractor.mapper.SentenceStartFilter
public class SentenceStartFilter
- extends FilterMapper<String>
Filters out sentences that do not start with a capital letter or number (ignoring single quotes, double
quotes, and whitespace).
- Author:
- afader
| Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.FilterMapper |
doMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SentenceStartFilter
public SentenceStartFilter()
doFilter
public boolean doFilter(String sent)
- Specified by:
doFilter in class FilterMapper<String>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.