|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.washington.cs.knowitall.extractor.mapper.Mapper<T>
edu.washington.cs.knowitall.extractor.mapper.FilterMapper<java.lang.String>
edu.washington.cs.knowitall.extractor.mapper.SentenceEndFilter
public class SentenceEndFilter
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.
Constructor Summary | |
---|---|
SentenceEndFilter()
|
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 |
---|
public SentenceEndFilter()
Method Detail |
---|
public boolean doFilter(java.lang.String sent)
doFilter
in class FilterMapper<java.lang.String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |