|
||||||||||
| 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.QueryScoreFilter
public class QueryScoreFilter
This filter simply increments the score of each result by the score of the query that was used to obtain the result. This takes into consideration that more specific queries in general return more valuable results than simple "bags of words".
This class extends the class Filter.
| Constructor Summary | |
|---|---|
QueryScoreFilter()
|
|
| Method Summary | |
|---|---|
Result |
apply(Result result)
Filters a single Result object. |
| 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 QueryScoreFilter()
| Method Detail |
|---|
public Result apply(Result result)
Result object.
apply in class Filterresult - result to filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||