-
Notifications
You must be signed in to change notification settings - Fork 13
DSO Project
Rui Liu edited this page Aug 19, 2013
·
45 revisions
Initial Commit
This version is based on the prototype branch of helloqa. For helloqa, we made the following changes:
- Fixed dependency errors
- Fixed SQL errors
- Fixed platform errors
For DSO project, we convert the components developed in summer'10 to CSE's phases. More specifically, we have converted the following components:
- AnswerTypeExtractor (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/answertype)
- KeytermExtractor (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/keyterm)
- ICEventExtractor (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/icevent)
- PassageRetrieval (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/passage)
- InformationExtractor (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/ie)
- AnswerGenerator (https://github.com/oaqa/helloqa/tree/prototype/src/main/java/edu/cmu/lti/oaqa/openqa/dso/phase/answer)
Those components are extended from the following abstract classes:
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractAnswerTypeExtractor
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractICEventExtractor
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractKeytermExtractor
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractPassageRetrieval
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractInformationExtractor
- edu.cmu.lti.oaqa.openqa.dso.framework.base.AbstractAnswerGenerator
The JCas objects are handled by the following classes:
- edu.cmu.lti.oaqa.openqa.dso.framework.jcas.AnswerTypeJCasManipulator
- edu.cmu.lti.oaqa.openqa.dso.framework.jcas.ICEventJCasManipulator
- edu.cmu.lti.oaqa.openqa.dso.framework.jcas.KeytermJCasManipulator
- edu.cmu.lti.oaqa.openqa.dso.framework.jcas.DocumentJCasManipulator
- edu.cmu.lti.oaqa.openqa.dso.framework.jcas.AnsJCasManipulator
Converting Requirements system To run the system, we have to make sure that the following files exist under helloqa:
- conf folder with its property files (used by Ephyra)
- res folder with all its files
- install indri by following the instructions http://lemur.sourceforge.net/indri/
- copy the libindri_jni.so file generated to helloqa/lib/
- if the file libindr_jni.so cannot be found, try ./configure --prefix= --enable-java --with-javahome=$JAVA_HOME, and make, make install again
- We also employ the type system developed previously (summer '11) for DSO, the type system can be found here: https://github.com/oaqa/helloqa/blob/prototype/src/main/resources/edu/cmu/lti/oaqa/OAQATypes.xml