info.ephyra.answerselection.filters
Class DuplicateSnippetFilter

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

public class DuplicateSnippetFilter
extends Filter

A variant of the DuplicateFilter for answer candidates that are text snippets.

This class extends the class Filter.

Version:
2008-02-15
Author:
Guido Sautter

Constructor Summary
DuplicateSnippetFilter()
           
 
Method Summary
 Result[] apply(Result[] results)
          Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results.
 
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

DuplicateSnippetFilter

public DuplicateSnippetFilter()
Method Detail

apply

public Result[] apply(Result[] results)
Filters duplicate results and increments the scores of the remaining results by the scores of the dropped results.

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