info.ephyra.answerselection.filters
Class AnswerTypeFilter

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

public class AnswerTypeFilter
extends Filter

The AnswerTypeFilter extracts factoid answers of the expected answer types from text passages. This is a high-recall but low-precision extraction approach.

This class extends the class Filter.

Version:
2007-04-14
Author:
Nico Schlaefer

Field Summary
static java.lang.String ID
          Identifier for the answer type testing approach.
 
Constructor Summary
AnswerTypeFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for each extracted unique answer.
 
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
 

Field Detail

ID

public static final java.lang.String ID
Identifier for the answer type testing approach.

See Also:
Constant Field Values
Constructor Detail

AnswerTypeFilter

public AnswerTypeFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for each extracted unique answer.

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