edu.washington.cs.knowitall.extractor.mapper
Class ClosestArgumentMapper
java.lang.Object
edu.washington.cs.knowitall.extractor.mapper.Mapper<T>
edu.washington.cs.knowitall.extractor.mapper.MaxMapper<Integer,ChunkedArgumentExtraction>
edu.washington.cs.knowitall.extractor.mapper.ClosestArgumentMapper
public class ClosestArgumentMapper
- extends MaxMapper<Integer,ChunkedArgumentExtraction>
A mapper object for NpChunkArgumentExtraction objects that
returns the object closest to the relation.
- Author:
- afader
| Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.MaxMapper |
doMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClosestArgumentMapper
public ClosestArgumentMapper()
doValueMap
public Integer doValueMap(ChunkedArgumentExtraction arg)
- Specified by:
doValueMap in class MaxMapper<Integer,ChunkedArgumentExtraction>
Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.