|
||||||||||
| 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.AnswerTypeFilter
public class AnswerTypeFilter
The AnswerTypeFilter extracts factoid answers of the expected
answer types from text passages. This is a high-recall but low-precision
extraction approach.
This class extends the class Filter.
| Field Summary | |
|---|---|
static java.lang.String |
ID
Identifier for the answer type testing approach. |
| Constructor Summary | |
|---|---|
AnswerTypeFilter()
|
|
| Method Summary | |
|---|---|
Result[] |
apply(Result[] results)
Extracts NEs of particular types from the answer strings of the Result objects and creates a new Result for
each extracted unique answer. |
| 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 |
| Field Detail |
|---|
public static final java.lang.String ID
| Constructor Detail |
|---|
public AnswerTypeFilter()
| Method Detail |
|---|
public Result[] apply(Result[] results)
Result objects and creates a new Result for
each extracted unique answer.
apply in class Filterresults - array of Result objects
Result objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||