Giter Site home page Giter Site logo

questionanswernlp's Introduction

QUESTION ANSWER NLP PROJECT

Author/ Contributor: Debjyoti Paul, [email protected], 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.

questionanswernlp's People

Contributors

debjyoti385 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

questionanswernlp's Issues

keywords2pickle not found

As per prepare.sh added hard coded path like this
cp -r /home/debjyotp/important/qcdata .
echo "## FETCH COMPLETE ##"
echo "## FETCH developset DATA ##"
cp -r /home/debjyotp/important/developset .
echo "## PREPARING input.txt ##"
cd developset

can you add this in project because of this it show following error :
Traceback (most recent call last):
File "qa.py", line 112, in
q_classifier = QuestionClassifier.get_classifier()
File "modules/QuestionClassifier.py", line 217, in get_classifier
classifier = QuestionClassifier(fine_grain)
File "modules/QuestionClassifier.py", line 178, in init
self.keywordlist2 = load_keywords()
File "modules/keywords_pickle_builder.py", line 26, in load_keywords
save_keywords(keywords=keywords)
File "modules/keywords_pickle_builder.py", line 31, in save_keywords
with open('qcdata/keywords2pickle', 'wb') as fout:
IOError: [Errno 2] No such file or directory: 'qcdata/keywords2pickle'

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.