info.ephyra.answerselection.filters
Class SentenceExtractionFilter

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

public class SentenceExtractionFilter
extends Filter

Splits the answer strings of results that are not from knowledge annotators into sentences and creates a new result for each sentence.

This class extends the class Filter.

Version:
2007-06-03
Author:
Nico Schlaefer

Constructor Summary
SentenceExtractionFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Splits the answer strings of the results into sentences and creates a new result for each sentence.
 
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

SentenceExtractionFilter

public SentenceExtractionFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Splits the answer strings of the results into sentences and creates a new result for each sentence.

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