edu.washington.cs.knowitall.extractor.mapper
Class ClosestArgumentMapper

java.lang.Object
  extended by edu.washington.cs.knowitall.extractor.mapper.Mapper<T>
      extended by edu.washington.cs.knowitall.extractor.mapper.MaxMapper<Integer,ChunkedArgumentExtraction>
          extended by 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

Constructor Summary
ClosestArgumentMapper()
           
 
Method Summary
 Integer doValueMap(ChunkedArgumentExtraction arg)
           
 
Methods inherited from class edu.washington.cs.knowitall.extractor.mapper.MaxMapper
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

ClosestArgumentMapper

public ClosestArgumentMapper()
Method Detail

doValueMap

public Integer doValueMap(ChunkedArgumentExtraction arg)
Specified by:
doValueMap in class MaxMapper<Integer,ChunkedArgumentExtraction>


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.