info.ephyra.answerselection.filters
Class FunctionWordsFilter

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

public class FunctionWordsFilter
extends Filter

A filter that drops a result if the answer string contains only function words.

This class extends the class Filter.

Version:
2007-03-05
Author:
Nico Schlaefer

Constructor Summary
FunctionWordsFilter()
           
 
Method Summary
 Result apply(Result result)
          Filters a single Result object.
 
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

FunctionWordsFilter

public FunctionWordsFilter()
Method Detail

apply

public Result apply(Result result)
Filters a single Result object.

Overrides:
apply in class Filter
Parameters:
result - result to filter
Returns:
result or null