edu.washington.cs.knowitall.extractor.mapper
Class AdjacentToRelationFilter
java.lang.Object
edu.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
- extends FilterMapper<ChunkedArgumentExtraction>
A filter that returns only arguments that are adjacent to the relation.
- 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 |
AdjacentToRelationFilter
public AdjacentToRelationFilter()
doFilter
public boolean doFilter(ChunkedArgumentExtraction arg)
- Returns
true if the given argument is adjacent to its relation.
- Specified by:
doFilter in class FilterMapper<ChunkedArgumentExtraction>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.