info.ephyra.answerselection.filters
Class ProperNameFilter

java.lang.Object
  extended by info.ephyra.answerselection.filters.Filter
      extended by info.ephyra.answerselection.filters.ProperNameFilter

public class ProperNameFilter
extends Filter

Drops answer candidates for definitional questions that are enumerations of proper names.

This class extends the class Filter.

Version:
2008-02-15
Author:
Guido Sautter

Constructor Summary
ProperNameFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Filter out result snippets that contain too many proper names.
 
Methods inherited from class info.ephyra.answerselection.filters.Filter
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProperNameFilter

public ProperNameFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Filter out result snippets that contain too many proper names. This is to get rid of enumerations of named entities that happen to include the target. This might, for instance, be the track list of a compilation LP, which has a song by the target artist on it.

Overrides:
apply in class Filter
Parameters:
results - array of Result objects
Returns:
extended array of Result objects