anl.aida.converters
Class LocationFilter

java.lang.Object
  extended by anl.aida.converters.LocationFilter
All Implemented Interfaces:
AnnotationBuilderFilter

public class LocationFilter
extends java.lang.Object
implements AnnotationBuilderFilter

Filters out gate lookup types with a majortype of location.


Constructor Summary
LocationFilter()
           
 
Method Summary
 boolean buildAnnotation(gate.FeatureMap map)
          Determines whether or not a particular annotation should be created based on feature values in a gate feature map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationFilter

public LocationFilter()
Method Detail

buildAnnotation

public boolean buildAnnotation(gate.FeatureMap map)
Description copied from interface: AnnotationBuilderFilter
Determines whether or not a particular annotation should be created based on feature values in a gate feature map.

Specified by:
buildAnnotation in interface AnnotationBuilderFilter
Parameters:
map - the GATE feature map
Returns:
true if the annotation should built otherwise false.