|
||||||||||
| 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.CombineScoresFilter
public class CombineScoresFilter
Combines the extra scores of each Result and sets the main
score to their sum.
This class extends the class Filter.
| Constructor Summary | |
|---|---|
CombineScoresFilter()
|
|
| Method Summary | |
|---|---|
Result |
apply(Result result)
add all the extra scores of the specified result to its main score and return it. |
Result[] |
apply(Result[] results)
Filters an array of Result objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombineScoresFilter()
| Method Detail |
|---|
public Result apply(Result result)
apply in class Filterresult - a Result object
Result objectpublic Result[] apply(Result[] results)
FilterResult objects.
apply in class Filterresults - results to filter
Filter.apply(info.ephyra.search.Result[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||