Professional Documents
Culture Documents
Multi Purposed Question Answer Generator With NLP
Multi Purposed Question Answer Generator With NLP
1 Introduction
So now you will take another physical character as size, so now the groups will
be something like this.
TWO WHEELS AND BIG SIZE: Bike.
TWO WHEELS AND SMALL SIZE: Cycle.
FOUR WHEELS AND BIG SIZE: Truck and Tempo.
GREEN COLOR AND SMALL SIZE: Car.
Here, you did not know learn anything before means no train data and no
response variable. This type of learning is known as unsupervised learning [5].
(3) Reinforcement Learning
A program which interacts with a changing environment and it should perform a
specific goal, without any teacher explicitly telling it whether it has come near to its
goal.
• Game playing. The player knows whether it won or lost, but not how it should
have moved.
• Control: A traffic system can measure the delay of cars, but not know how to
decrease it.
• Robot path planning: Can measure the actual distance traveled.
generator peoples can save their time, without reading anything, they are able to get
questions and answers as well.
We Solve problems by following levels:
(1) First We work with Statements
(2) Next, we work with Multiple statements
(3) Next, we work with Paragraphs
(4) And so on.
Consider the following contents and based on this content, machine automatically
generates questions and gives the answer to that question automatically.
Input
There are basically three types of programming languages. (1) machine level lan-
guage, (2) assembly level language and (3) High level language.
(1) Machine level language
Machine level programs only understand binary codes. Programs are in form of
0’s and 1’s. programs are not portable. Not required translator to translate the
program because computer directly understand this language.
(2) Assembly level language
Assembly level programs are not in the forms of 0’s and 1’s so computer cannot
understand this language directly. Assembler tool is used for translation.
Programs are not portable.
(3) High level language
High level programs are not in forms of 0’s and 1’s so computer cannot
understand this language directly. Compiler tool is used for translation.
Programs are portable.
Output
Q-1 How many programming languages are there? Ans. There are three pro-
gramming languages.
Q-2 In which languages programs are not portable?
Ans. Machine level and Assembly level programs are not portable.
Above is the sample question answer. The machine will generate as possible
questions from contents and also give the answers.
144 H. Desai et al.
Figure shows the Research Design of the current study problem (Fig. 3).
There are basically two main steps of design
(1) We train a machine learning model using our existing labeled data. Labeled
data is a data which has been labeled with the outcome which in the case of
types of vehicles example whether the vehicle is an auto or car. This is called—
model training because the model is learning the relationship between the
attributes of the data and the outcome. These attributes might include the
number of wheels, shape, weight, etc.
(2) We make predictions on new data for which we do not know the true outcomes.
In other words, when a new fruit arrives, we want our train model to accurately
predict whether the fruit is an apple or orange without a human examine it.
We want to build machine learning model that accurately predict the labels of
our future vehicles, rather than accurately predicting the labels of vehicles we have
already received [4].
5 Conclusion
6 Future Scope
References
1. Furnkranz J, Gamberger D, Lavrac N (2012) Machine learning and data mining. In:
Foundation of rule learning. Springer (2012)
2. Ikeda M, Ashley K, ArikIturri T-W (2006) An automatic question generator based on Corpora
and NLP techniques. Springer, Berlin, Heidelberg
3. Collins M (2002) Machine learning methods in natural language processing. MIT CSAIL
4. Sammons M, Srikumar V (2016) An introduction to machine learning and natural language
processing tools. MIAS
5. Donalek C (2011) Supervised and unsupervised learning Ay/Bi 199, Apr 2011