|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.ephyra.trec.TREC8To12Parser
public class TREC8To12Parser
A parser for the TREC 8-12 QA tracks.
| Field Summary | |
|---|---|
private static java.lang.String |
QTYPE
Type of the TREC 8 to 11 questions. |
| Constructor Summary | |
|---|---|
TREC8To12Parser()
|
|
| Method Summary | |
|---|---|
static TRECPattern[] |
loadPatterns(java.lang.String filename)
Loads the patterns from a file. |
static TRECPattern[] |
loadPatternsAligned(java.lang.String filename)
Loads the patterns from a file. |
static TRECQuestion[] |
loadQuestions(java.lang.String filename)
Loads the questions from a file. |
static TRECAnswer[] |
loadTREC9Answers(java.lang.String filename)
Loads the answers to the TREC9 questions from a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String QTYPE
| Constructor Detail |
|---|
public TREC8To12Parser()
| Method Detail |
|---|
public static TRECQuestion[] loadQuestions(java.lang.String filename)
filename - file that contains the questions
null, if the file could not be parsedpublic static TRECPattern[] loadPatterns(java.lang.String filename)
filename - file that contains the patterns
null, if the file could not be parsedpublic static TRECPattern[] loadPatternsAligned(java.lang.String filename)
null entry is added to the array of patterns.
filename - file that contains the patterns
null, if the
file could not be parsedpublic static TRECAnswer[] loadTREC9Answers(java.lang.String filename)
filename - file that contains the answers
null, if the file could not be parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||