info.ephyra.answerselection.filters
Class DirectSpeechFilter

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

public class DirectSpeechFilter
extends Filter

Drops answer candidates for definitional questions that consist of direct speech.

This class extends the class Filter.

Version:
2008-02-10
Author:
Guido Sautter

Constructor Summary
DirectSpeechFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Throws out snippets that consist of direct speech.
 
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

DirectSpeechFilter

public DirectSpeechFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Throws out snippets that consist of direct speech.

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