Top
5 MCQ on NLP, NLP quiz questions with answers, NLP MCQ questions,
Solved questions in natural language processing, NLP practitioner exam
questions, Add-1 smoothing, MLE, inverse document frequency
Multiple Choice Questions in NLP
1. Let us assume that we use the words ‘study’ ‘computer’ and ‘abroad’. It these are only informative words to classify that a mail is spam or not. Which of the following represent the maximum-likelihood estimate using add-one smoothing for P(study|spam)? Use the following table to answer the question;
‘study’ |
‘computer’ |
‘abroad’ |
Class |
1 0 1 1 0 0 0 0 0 0 |
0 1 0 1 0 0 0 1 0 0 |
0 1 0 0 0 0 1 0 0 0 |
Not spam Not spam Not spam Not spam Spam Spam Spam Spam Spam Spam |
a) 0/6
b) 0/8
c) 1/6
d) 1/8
Click here to view answer
2. What is the probability P (‘computer in abroad’ | spam) as per the data in the table given in question 1?
a) 1/6
b) 2/6
c) 1/36
d) 1/18
Click here to view answer
3. What is the unsmoothed maximum likelihood estimate of P(Spam) for the data given in question 1?
a) 1
b) 6/10
c) 4/6
d) 3/5
Click here to view answer
4. Which of the following increases the weight of rarely occurring terms in the document set?
a) Term frequency
b) Word frequency
c) Inverse document frequency
d) Bi-gram frequency
Click here to view answer
5. The act of converting a text document into a set of individual words is referred as ______ .
a) Tokenization
b) Stemming
c) Lemmatization
d) All of the above
Click here to view answer
Top interview questions in NLP
NLP quiz questions with answers explained
Online NLP quiz with solutions
question and answers in natural language processing
unsmoothed maximum likelihood estimation
What is inverse document frequency
how inverse document frequency helps in tf-idf calculation
Top 5 important questions with answers in natural language processing