|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.querygeneration.QueryGeneration
public class QueryGeneration
Generates one or more Queries from a previously analyzed
question by applying a set of QueryGenerators.
| Field Summary | |
|---|---|
private static java.util.ArrayList<QueryGenerator> |
queryGenerators
QueryGenerator objects used to generate the queries. |
| Constructor Summary | |
|---|---|
QueryGeneration()
|
|
| Method Summary | |
|---|---|
static void |
addQueryGenerator(QueryGenerator queryGenerator)
Registers a QueryGenerator. |
static void |
clearQueryGenerators()
Unregisters all QueryGenerators. |
static Query[] |
getQueries(AnalyzedQuestion aq)
Applies the QueryGenerators to an analysed question and
returns one or more queries that can be passed to the search module. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.util.ArrayList<QueryGenerator> queryGenerators
QueryGenerator objects used to generate the queries.
| Constructor Detail |
|---|
public QueryGeneration()
| Method Detail |
|---|
public static void addQueryGenerator(QueryGenerator queryGenerator)
QueryGenerator.
queryGenerator - QueryGenerator to addpublic static void clearQueryGenerators()
QueryGenerators.
public static Query[] getQueries(AnalyzedQuestion aq)
QueryGenerators to an analysed question and
returns one or more queries that can be passed to the search module.
aq - analyzed question
Query objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||