Giter Club home page Giter Club logo

nlp-qa-system's Introduction

Monish Gupta
Paul C Carlson
Professor Ellen Riloff
CS 5340 - Fall 2018

Final Project: Question Answering

Uses Python 2.7
Tested on CADE Machine: lab2-5.eng.utah.edu

Timing for single story:
  # TODO: Answer this question

External Resources:
  spaCy
    https://spacy.io/usage/

  Model: en_core_web_sm
    https://spacy.io/models/en

  Installed and run using the following commands:
    python -m pip install -U virtualenv
    virtualenv .env
    source .env/bin/activate
    pip install -U spacy
    python -m spacy download en_core_web_sm


Contributions:
  Monish:
    - Read in stories
    - spaCy setup and installation
    - Model installation
    - identified useful spaCy features:
      - NER labels
      - Sentence Splitting
      - NP Chunking
      - POS Tagging
    - Answer reduction by near word matching

  Paul:
    - Read in questions
    - Simple overlap implementation
    - Output formatting
    - Question typing
    - Named Entity to Q-Type matching for precision increase
    - Overlap with word lemma (stemming) and set intersection
    - Stop words
    - Sentence ranking


Known issues:
  May not run on other systems under other users, cause virtualenv pathing



Checkpoint 1:
- Approach 1: Simple question/answer overlap - just getting started
    - Issues:
        No question typing
        Poor sentence division
-

Checkpoint 2: Goals
- See if we can use the difficulty of the question as a heuristic when searching for
    answers (shorter or longer responses)
- Co-reference resolution
- Difficult Question types (WHAT, HOW, WHY)

Things to look at tomorrow :
-for 3 hard QTypes : dobj and everything after
-root and subroot matching as seen online

nlp-qa-system's People

Contributors

pcjcarlson avatar momo1478 avatar

Watchers

James Cloos avatar  avatar  avatar

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.