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;
}  

Monday, 24 August 2015

Rupani Tejas: New Defination

Rupani Tejas: New Defination: Write a program to take 3 numbers a, r and n from user and print the arithmetic sequence like { a, ar, ar , ..., ar } sample input and outp...

New Definition

Write a program to take 3 numbers a, r and n from user and print the arithmetic sequence like { a, ar, ar , ..., ar } sample input and output statements are given below .
Enter a: 5
Enter r: 2
Enter n: 4
Substituting value of 'a', 'r', and 'n' in the sequence {a, ar }
= {5, 5* , 5*2 , 5*2 , 5*2 }
= {5, 10, 20, 40, 80}

Saturday, 22 August 2015

C language program definition

Write a program to find smallest missing number of first array from value of second array......hello guys start coding and reply

Saturday, 8 August 2015

Welcome to C Language World!!!


Hello all, 

You can ask any question related to C lanuage.

You can also ask for programming solution of C.
Program for Pythagorean triple :
For example, 3, 5 and 4 form a Pythagorean triple, since 3*3 + 4*4 = 25 = 5*5
Solution:
#include
int main()
{
          int a,b,c,no,flag=0;
          scanf("%d%d%d",&a,&b,&c);

         if(a>b && a>c)
        {
                    if(b*b+c*c==a*a)
                              flag=1;
                    else
                             flag=0;
         }
        else if(b>a && b>c)
       {
                    if(a*a+c*c==b*b)
                             flag=1;
                    else
                             flag=0;
        }
        else
       {
                      if(a*a+b*b==c*c)
                              flag=1;
                      else
                              flag=0;
        }
        if(flag==1)
                  printf("yes");
        else
                  printf("no");
}