Question Answering System with Natural Language Processing for defined domain.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
modules
papers
poster
README.md
input.txt
perfect_answers.txt
prepare.sh
qa.py
score-answers.pl

README.md

QUESTION ANSWER NLP PROJECT

Author/ Contributor: Debjyoti Paul, deb@cs.utah.edu, uNID: u0992708

Poster of Question Answer Project

###NOTE: In CADE machines use following python path: /usr/local/stow/python/amd64_linux26/python-2.7.3/bin/python PLEASE RUN FIRST $ chmod +x prepare.sh $ ./prepare.sh

  • PREPARE MODULE

    • Modules require:
      • numpy
      • scipy
      • scikit-learn
      • beautifulSoup4
      • requests
    • to install them locally and run use following command
    • $ ./prepare.sh
  • EXECUTION

    • Help
      • /usr/local/stow/python/amd64_linux26/python-2.7.3/bin/python qa.py -h
    • Execution WITHOUT Coreference Resolution
      • /usr/local/stow/python/amd64_linux26/python-2.7.3/bin/python qa.py -i input.txt -o response.txt -c 0
    • Execution WITH Coreference Resolution
      • /usr/local/stow/python/amd64_linux26/python-2.7.3/bin/python qa.py -i input.txt -o response.txt -c 1
    • NOTE:
      • The final F-score obtained for developset is 32.68% (without coref resolution)
      • The final F-score obtained for testset1 is 38.64% (without coref resolution)
  • INFORMATION

    • It usually takes some 30 seconds to initialize Question classifier.
    • This script also installs BART anaphora resolution kit and runs a web server with port 8125
    • TESTED on lab1-13.eng.utah.edu
    • In OSX/ Macbook developset execution completes in 12-15 minutes.