|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.querygeneration.generators.QueryGenerator
info.ephyra.querygeneration.generators.QuestionInterpretationG
public class QuestionInterpretationG
The QuestionInterpretationG generates queries from question
interpretations. The query string is built from the TARGET, the CONTEXT and
the keywords in the question (for question answering only) or the answer
string (for pattern learning only).
This class extends the class QueryGenerator.
| Field Summary | |
|---|---|
private static java.lang.String[] |
EXTRACTION_TECHNIQUES
Answer extraction techniques for this query type. |
private static float |
SCORE
The score assigned to queries created from question interpretations. |
| Constructor Summary | |
|---|---|
QuestionInterpretationG()
|
|
| Method Summary | |
|---|---|
Query[] |
generateQueries(AnalyzedQuestion aq)
Creates queries from question interpretations. |
java.lang.String |
queryString(java.lang.String target,
java.lang.String[] context,
java.lang.String[] kws)
Creates a query string from the interpretation of a question and the keywords in the question (for question answering only) or an answer string (for pattern learning only). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final float SCORE
private static final java.lang.String[] EXTRACTION_TECHNIQUES
| Constructor Detail |
|---|
public QuestionInterpretationG()
| Method Detail |
|---|
public Query[] generateQueries(AnalyzedQuestion aq)
generateQueries in class QueryGeneratoraq - analyzed question
Query objects
public java.lang.String queryString(java.lang.String target,
java.lang.String[] context,
java.lang.String[] kws)
target - TARGET objectcontext - CONTEXT objectskws - keywords in the question string (for question answering) or
answer string (for pattern learning)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||