GithubHelp home page GithubHelp logo

qa-engine's Introduction

*******Artificial Intelligence

****Part-1

The focus is to build a question-answering system.Few questions (queries) will be given. But
apart from these, there will be questions for each part that will have to be answered during
evaluation. So hard-coding should be avoided and your code should be as general as
possible.

=================================Dataset================================
For this phase, the commentary data of all the five ODI matches (for both innings) has to be
included.
The links to the 5 matches are:

  1. http://www.espncricinfo.com/new-zealand-v-india-2014/engine/match/667641.html
  2. http://www.espncricinfo.com/new-zealand-v-india-2014/engine/match/667643.html
  3. http://www.espncricinfo.com/new-zealand-v-india-2014/engine/match/667645.html
  4. http://www.espncricinfo.com/new-zealand-v-india-2014/engine/match/667647.html
  5. http://www.espncricinfo.com/new-zealand-v-india-2014/engine/match/667649.html

===================Text processing========================================
This part deals with questions to be answered that will require string parsing and text
processing of the commentary data.
The commentary information consists of :

  1. ball by ball details (so naturally over by over information is captured)
  2. for each ball, the information is of the form:
    PLAYER1 to PLAYER2, RUNS SCORED / “OUT”, DESCRIPTION (of the ball and the
    way ball was played, etc).
  3. comments by different users, during the course of play
    So questions based on the following grammar need to be answered.
    Rough grammar of questions for part 1:
    :
    : first | second | third | fourth | fifth
    : this will contain information about few / all of the following:
  4. player hitting Ones / Twos / Fours / Sixes (optional number or
    “maximum” ­ may be specified like player1 hit 3 sixes)
  5. about the specific over(or there may not be any specific over given)3. player getting out
  6. player bowling wide / no ball (optional number or “maximum” ­ may
    be specified, see Q5)
    : which ball | which over | who dismissed (although this question can be
    answered even using scorecard info) | who hit | which bowler

=================================Questions==========================

  1. In the first match, Kohli hit sixes in overs of which bowler(s)?
    (here number of sixes and specific over is not specified, so you should retrieve all the instances)
  2. In the first match, Williamson was out in which over?
    (you will need to search for “OUT” word and find the appropriate over/ball information. In
    this query the answer would be “NONE” as Williamson was not out, a clever solution would
    be to first search the scorecard information and if required subsequently search the
    commentary)
  3. In third match, Taylor hit fours in which overs?
  4. In fourth match, Dhoni hit six in over 30, in which ball?
  5. In third match, Anderson bowled maximum wides in which over?

***************************PART-2 ************************************

Build the same engine without a question grammar.

qa-engine's People

Contributors

budhiraja avatar

Watchers

James Cloos 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.