WiseOwl

This is a Fact based Question Answering System using Apache Solr as backend search engine, Wikipedia dumps as information source, Apache velocity , Html, Css for Web interface Design. The project also uses Linux bash script to perform its various functions like start,stop,training and indexing

Question Answering

Features:

![Date Normalization](screenshots/date_norm .jpg)

Name Detection

Installation

Throughout this document, WiseOwl_HOME is the base directory for all the wiseowl code

Required Downloads


Throughout this document, WiseOwl_HOME is the base directory for all the wiseowl code

WiseOwl uses Maven for building and running the code. To get started, you will need:

  1. JDK 1.7+

  2. Maven 3.0 or higher installed

  3. The OpenNLP English models, available at http://opennlp.sourceforge.net/models-1.5/

    Download all the models, and place the in WiseOwl_HOME/opennlp-models place ans.bin model from the repository to WiseOwl_HOME/opennlp-models/qa

  4. Get WordNet 3.0 and place it in the WiseOwl_HOME root directory. (usually it comes as zipped file, so unzip it using gunzip or other utilities) You may find it at the given link or perform a simple google search to find it. http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz

  5. Download Apache Solr 6.3.0 available at http://lucene.apache.org/solr/ copy contrib, server and dist folder from Solr 6.3.0 package to WiseOwl_HOME root directory

  6. Download stanford coreNLP from their official website. https://stanfordnlp.github.io/CoreNLP/download.html and include it on your build path or you can add maven dependencies(not recommended for unstable internet connections because file is quite big)

Building the Source


Prior to building the source, for those previously unfamiliar with Maven, it may be wise to read this to avoid future hassles: http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

To build the source, in WiseOwl_HOME:

mvn clean package

Running the System


  1. Goto the WiseOwl_HOME/bin directory and open a terminal there. type :
    • ./WiseOwl : For different options available
    • ./WiseOwl start : To start the Apache Solr Server
    • ./WiseOwl stop : To stop the server
  2. Point your web browser to http://localhost:8983/solr/WiseOwl/answer

    You will see a screen similar to a screen below.

Start Screen

Special Thanks:

We are greatly thankful to Grant Ingersoll for their open source project under the book TamingText Their work is really great! We have built on their code. We thank them so much. It was great help and learning experience for us. Their original project can be found at: https://github.com/tamingtext/book