|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.answerselection.filters.Filter
public abstract class Filter
A Filter is part of a pipeline for answer extraction and
selection. It manipulates an array of Result objects.
A filter can drop results, create new results from existing ones, or modify results. It can process the results independently (in which case the apply(Result) method should be implemented, or it can simultaneously process a list of results (in which case the apply(Result[]) method should be implemented).
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
Result |
apply(Result result)
Filters a single Result object. |
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 Filter()
| Method Detail |
|---|
public Result apply(Result result)
Result object.
result - result to filter
null if the result is droppedpublic Result[] apply(Result[] results)
Result objects.
results - results to filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||