|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.answerselection.filters.Filter
info.ephyra.answerselection.filters.DuplicateSnippetFilter
public class DuplicateSnippetFilter
A variant of the DuplicateFilter for answer candidates that
are text snippets.
This class extends the class Filter.
| 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 |
|---|
public DuplicateSnippetFilter()
| Method Detail |
|---|
public Result[] apply(Result[] results)
apply in class Filterresults - array of Result objects
Result objects without duplicates
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||