Git Product home page Git Product logo

helloqa's People

Contributors

amaiberg avatar collinm avatar elmer-garduno avatar ziy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helloqa's Issues

Empty ids field in sql database

Some tables contain id fields that are empty and superfluous. They need to be removed from the database to avoid confusion.

Beginner questions, java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

Hi,

I'm trying to get started with OAQA. My goal for now is a project that can answer basic questions as a stepping stone for more involved work (general knowledge would be preferred). Hence, I tried to compile HelloQA following the instructions (downloaded Gutenberg, extracted files, opened project in Eclipse 4.5.1, ran test.launch), but it throws java.lang.NoClassDefFoundErrors. I have been able to solve some by adding <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> <version>1.7.13</version> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-core</artifactId> <version>3.6.0</version> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3</version> </dependency> to pom.xml

But I now get Phase: 2|retrieval-strategist> Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletRequest

Since I'm completely inexperienced with this pipeline: What can I do now? Did you make any assumptions? Right now I have set up neither UIMA, Indri, CSE nor any other OAQA projects. Was I supposed to?

Thanks in advance.

Best wishes,
Joe

SQL error or missing database (no such table: cas)

Running this project as specified in the README fails for me giving the following error:
SQL error or missing database (no such table: cas)
I have looked into the sqlite db: oaqa-eval.db3 and there is in fact no table named cas, there is a cas_str table. This happened on both the master and prototype branches.

The output and stack trace are below:
[1] Execution failed for option: SimpleKeytermExtractor[persistence-provider:inherit: ecd.default-log-persistence-provider] after 0s
Aug 22, 2013 10:38:27 AM org.apache.uima.util.CasPool releaseCas
WARNING: The system tried to return a common analysis structure to the pool from which it was not checked out.
Aug 22, 2013 10:38:27 AM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl callAnalysisComponentNext(523)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.next(BasePhase.java:185)
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.next(BasePhase.java:73)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentNext(PrimitiveAnalysisEngine_impl.java:500)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl$AnalysisComponentCasIterator.next(PrimitiveAnalysisEngine_impl.java:613)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:569)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.(ASB_impl.java:409)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
at edu.cmu.lti.oaqa.ecd.driver.SimplePipelineRev803.runPipeline(SimplePipelineRev803.java:244)
at edu.cmu.lti.oaqa.ecd.driver.SimplePipelineRev803.runPipeline(SimplePipelineRev803.java:154)
at edu.cmu.lti.oaqa.ecd.driver.ECDDriver.run(ECDDriver.java:66)
at edu.cmu.lti.oaqa.ecd.driver.ECDDriver.main(ECDDriver.java:96)
Caused by: org.apache.uima.analysis_engine.AnalysisEngineProcessException
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.next(BasePhase.java:180)
... 12 more
Caused by: org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [null]; error code [0]; [SQLITE_ERROR] SQL error or missing database (no such table: cas); nested exception is java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: cas)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:602)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:811)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:833)
at edu.cmu.lti.oaqa.cse.driver.phase.impl.JdbcPhasePersistenceProvider.insertExecutionTrace(JdbcPhasePersistenceProvider.java:29)
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.insertExecutionTrace(BasePhase.java:278)
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.process(BasePhase.java:195)
at edu.cmu.lti.oaqa.ecd.phase.BasePhase.next(BasePhase.java:175)
... 12 more

Enable descriptor inference for YAMLs such as jdbc.sqlite.cse.phase

Currently we must specify the entire package prefix for descriptors such as jdbc.sqlite.cse.phase. But, sqlite or jdbc do not really have anything to do with cse.phase. We would like our naming scheme to reflect this loose coupling by having some way of inferring the database being used without having to explicitly specifying it in the descriptor.

Utility of oaqa-eval.db3

I want to know what is the real utility of oaqa-eval.db3 database. Can I build my QA pipeline without it?

NoClassDefFoundError: org/slf4j/LoggerFactory

NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.solr.core.SolrResourceLoader.(SolrResourceLoader.java:66)

Booted in a fresh Kepler Eclipse. First boot got that error message.
Then tried a mvn clean install and re-run. Nothing changed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.