|
|||||||||
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<ChunkedArgumentExtraction>
edu.washington.cs.knowitall.extractor.mapper.AdjacentToRelationFilter
public class AdjacentToRelationFilter
A filter that returns only arguments that are adjacent to the relation.
Constructor Summary | |
---|---|
AdjacentToRelationFilter()
|
Method Summary | |
---|---|
boolean |
doFilter(ChunkedArgumentExtraction arg)
Returns true if the given argument is adjacent to its relation. |
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 AdjacentToRelationFilter()
Method Detail |
---|
public boolean doFilter(ChunkedArgumentExtraction arg)
true
if the given argument is adjacent to its relation.
doFilter
in class FilterMapper<ChunkedArgumentExtraction>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |