|
||||||||||
| 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.NounPhraseFilter
public class NounPhraseFilter
Scores answer candidates for definitional questions according to the number of novel noun phrases they contain.
This class extends the class Filter.
| Constructor Summary | |
|---|---|
NounPhraseFilter()
|
|
| Method Summary | |
|---|---|
Result[] |
apply(Result[] results)
Increments the score of each result snippet according to the number of noun phrases it is the first to contain. |
| 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 NounPhraseFilter()
| Method Detail |
|---|
public Result[] apply(Result[] results)
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 | |||||||||