Monday 21 September 2015

Closed Domain Question Answering System



  • Closed Domain QA system is natural way to request information that we do not know, check information that we are not sure. 
  • Developing of Closed Domain QA system involves Information Retrieval and Natural Language Processing.
  •  It is the better way to find the information directly rather than the search that particular information. Create Closed Domain QA system in which user can upload the document from which, user want to extract the information and want to get answer without wasting of time to search large number of documents or data. 
  • This document must be verified or checked by the expert because of irrelevant document may create invalid answer and decrease the accuracy of the system.
  • Also user can search the query from already available source of data which is already verified by the expert. 
  • This can be used in FAQs type of question in which there are so many question and answers are already available but need to search it. 
  • User enters the query or question in natural language which is not handled by most of the search engine.  
  • After that question analyzer is used to analyses the question and identified the types of question among available category the question, so that system can judge which kind of answer will be possible for such kind of questions. 
  • Question type and its expected answer type are generally identified by looking at question keywords.   Consider following table.


Question Type
Expected Answer Type
Who
Person
When
Date/Time
Where
Location
What
Object
How
Measure


  • Now this identify the different keywords from the questions and based on that keyword fist of all identify the different paragraph that consists this keywords. 
  • Once system get the number of paragraph from available documents now system need to identify the relevant paragraph that is relevant to the questions. 
  • There is various answer extraction method like Heuristic, Pattern Based, Relation Based and logical based. From that method retrieve the answer from the paragraph. 
  • Answer extraction takes the input as expected type of answer and set of paragraph retrieved from the available source of data. 
  • In this process similarity between the keywords of the question and keywords founds in passage is computed in order to get best passage in a ranked list.

Tuesday 15 September 2015

Question Answering System

  • Search engines are keyword based, So when user enter query in user language (Natural Language) then its result is differ from the result given by keyword. 
  • Search engine also give list of document from which user need to identify the answer. So it is very time consuming process.
    Closed Domain QA system is used to identify the precise and accurate answer from given documents, So there is no need to view all the documents and identify the correct answer as we done in search engine. 
  • Thus Closed Domain QA system obviate the time of user and provide precise and correct answer what user actually want. 
  • Closed domain QA system uses the concept of information retrieval It is main part of QA system and also use answer analyzer, question analyzer. 
  • This is closed domain, Repository oriented and Single language Question Answering System. 
  • This system is domain specific so it may be used in education system in which student can get the answer of query which will be available in various books but rather to view the entire book in details, system give direct answer which is more relevant.

Wednesday 2 September 2015

C language Questions

1) Consider following Dumbo programming code


   i.  Use locations A, B;
  ii.  Output "Give A and B: ";
 iii.  A = 77; 
  iv.  B = 209;
   v.  B = A + B;
  vi.  A = A + B;
 vii.  Output A;
viii.  Output B
 
What value will be printed by the statement 'Output A' ?

2)What is the integer equivalent represented by 2's complement -
of the binary number 10011100?
 
3)Consider following code 
 int main() {
    int d = 24;
    int m = 10;
    int y = 2940;
    int c = 0;
    int val;
    val = ( d + m + y + (y/4) + c) % 7;
    cout << val;
    return 0;
}   
What value will be printed by the statement 'cout << val'?
 
4)Consider following Code
 
int main() { 
    int a = 4;
    int b = 6;
    int lamp, light;
 
    lamp = 5*a + 2*b;
    light = 4*a + 8*b;
 
    while(lamp < light) {
        lamp = lamp + 4;
        light = light - 2;
    }
    return 0;
}