info.ephyra.answerselection.filters
Class FactoidsFromPredicatesFilter

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

public class FactoidsFromPredicatesFilter
extends Filter

The FactoidsFromPredicatesFilter extracts factoid answers from predicate-argument structures.

This class extends the class Filter.

Version:
2007-07-24
Author:
Nico Schlaefer

Field Summary
static java.lang.String ID
          Identifier for the semantic parsing approach.
 
Constructor Summary
FactoidsFromPredicatesFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Extracts factoids from the predicates withing 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 semantic parsing approach.

See Also:
Constant Field Values
Constructor Detail

FactoidsFromPredicatesFilter

public FactoidsFromPredicatesFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Extracts factoids from the predicates withing 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 containing predicates
Returns:
array of Result objects containing factoids