edu.washington.cs.knowitall.extractor.mapper
Class SentenceEndFilter
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.SentenceEndFilter
public class SentenceEndFilter
- extends FilterMapper<String>
Filters out sentences that do not end with a period, question mark, or
exclamation point, ignoring double quotes, single quotes, and whitespace at
the end.
- 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 |
SentenceEndFilter
public SentenceEndFilter()
doFilter
public boolean doFilter(String sent)
- Specified by:
doFilter in class FilterMapper<String>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.