|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Query | |
|---|---|
| info.ephyra.io | |
| info.ephyra.patternlearning | |
| info.ephyra.querygeneration | |
| info.ephyra.querygeneration.generators | |
| info.ephyra.search | |
| info.ephyra.search.searchers | |
| Uses of Query in info.ephyra.io |
|---|
| Methods in info.ephyra.io with parameters of type Query | |
|---|---|
static boolean |
Logger.logQueryStrings(Query[] queries)
Logs the query strings. |
static void |
MsgPrinter.printQueryStrings(Query[] queries)
Prints out query strings. |
| Uses of Query in info.ephyra.patternlearning |
|---|
| Methods in info.ephyra.patternlearning that return Query | |
|---|---|
private static Query[] |
PatternLearner.formQueries(java.lang.String dir)
Loads target-context-answer-regex tuples from resource files and forms queries. |
| Methods in info.ephyra.patternlearning with parameters of type Query | |
|---|---|
private static Result[] |
PatternLearner.fetchPassages(Query[] queries)
Fetches text passages from knowledge sources. |
| Uses of Query in info.ephyra.querygeneration |
|---|
| Methods in info.ephyra.querygeneration that return Query | |
|---|---|
Query[] |
QuestionReformulator.apply(java.lang.String verbMod)
Creates reformulations of a question if it is of the format described by the pattern field and wraps them in Query
objects. |
Query |
Query.getCopy()
Return a copy of this Query object. |
static Query[] |
QueryGeneration.getQueries(AnalyzedQuestion aq)
Applies the QueryGenerators to an analysed question and
returns one or more queries that can be passed to the search module. |
| Uses of Query in info.ephyra.querygeneration.generators |
|---|
| Methods in info.ephyra.querygeneration.generators that return Query | |
|---|---|
abstract Query[] |
QueryGenerator.generateQueries(AnalyzedQuestion aq)
Generates one or more Query objects from an analyzed
question. |
Query[] |
PredicateG.generateQueries(AnalyzedQuestion aq)
Generates queries from predicate-argument structures extracted from the question string. |
Query[] |
QuestionInterpretationG.generateQueries(AnalyzedQuestion aq)
Creates queries from question interpretations. |
Query[] |
QuestionReformulationG.generateQueries(AnalyzedQuestion aq)
Generates queries that are reformulations of the question string. |
Query[] |
BagOfWordsG.generateQueries(AnalyzedQuestion aq)
Generates a "bag of words" query from the keywords in the question string. |
Query[] |
BagOfTermsG.generateQueries(AnalyzedQuestion aq)
Generates a "bag of terms" query from the terms in the question string. |
| Uses of Query in info.ephyra.search |
|---|
| Fields in info.ephyra.search declared as Query | |
|---|---|
private Query |
Result.query
The Query that was used to obtain the answer (optional). |
| Methods in info.ephyra.search that return Query | |
|---|---|
Query |
Result.getQuery()
Returns the Query that was used to obtain this result, or
null if it is not set. |
| Methods in info.ephyra.search with parameters of type Query | |
|---|---|
static Result[] |
Search.doSearch(Query[] queries)
Sends several alternative queries to all the searchers that have been registered and returns the aggregated results. |
private static void |
Search.queryKAs(Query query)
Searches the (semi)structured knowledge sources. |
private static void |
Search.queryKMs(Query query)
Searches the unstructured knowledge sources. |
| Constructors in info.ephyra.search with parameters of type Query | |
|---|---|
Result(java.lang.String answer,
Query query)
Creates a Result object and sets the answer string and the
Query that was used to obtain the answer. |
|
Result(java.lang.String answer,
Query query,
java.lang.String docID)
Creates a Result object and sets the answer string, the
Query that was used to obtain the answer and the ID of a
document that contains it. |
|
Result(java.lang.String answer,
Query query,
java.lang.String docID,
int hitPos)
Creates a Result object and sets the answer string, the
Query that was used to obtain the answer, the ID of a
document that contains it and the hit position. |
|
| Uses of Query in info.ephyra.search.searchers |
|---|
| Fields in info.ephyra.search.searchers declared as Query | |
|---|---|
protected Query |
Searcher.query
Query that is performed. |
| Methods in info.ephyra.search.searchers with parameters of type Query | |
|---|---|
protected boolean |
KnowledgeAnnotator.matches(Query query)
Tests whether the knowledge annotator is appropriate for a question by applying the patterns in the field qPatterns. |
void |
KnowledgeMiner.start(Query query)
Creates [MAX_RESULTS_TOTAL / MAX_RESULTS_PERQUERY]
threads that fetch up to MAX_RESULTS_TOTAL results. |
boolean |
KnowledgeAnnotator.start(Query query)
Sets the query and starts the thread if the knowledge annotator is appropriate for the user question. |
protected void |
KnowledgeMiner.start(Query query,
int firstResult)
Sets the query, the hit position of the first result and the number of results to be fetched and starts the thread. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||