|
||||||||||
| 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.PreferNamedEntitiesFilter
public class PreferNamedEntitiesFilter
The PreferNamedEntitiesFilter prefers factoid answers that
are named entities over other factoid answers.
This class extends the class Filter.
| Constructor Summary | |
|---|---|
PreferNamedEntitiesFilter()
|
|
| Method Summary | |
|---|---|
Result[] |
apply(Result[] results)
If there are named entities among the factoid answers then answers that are not named entities are dropped. |
| 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 PreferNamedEntitiesFilter()
| Method Detail |
|---|
public Result[] apply(Result[] results)
apply in class Filterresults - array of Result objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||