Thursday, April 16, 2020

Questions and answers in Natural language processing

Multiple Choice Questions (MCQ) in Natural Language Processing (NLP) with answers


MCQ Quiz Questions with Answers in NLP



1. In an HMM, observation likelihoods measure
a) The likelihood of a POS tag given a word
b) The likelihood of a POS tag given the preceding tag
c) The likelihood of a word given a POS tag
d) The likelihood of a POS tag given two preceding tags

2. Consider the language L = {anbncm | m, n >=0}. Which of the following strings are in L?
a) abbc
b) ab
c) aabc       
d) abbcc
Answer: (b)
As per the given language, the number of a’s and b’s should be same in the resultant strings. In that point of view, only (b) is correct. Here, n=1 and m=0.

3. Which of the following instances the regular expression “\b(one|two|three)\b” can recognize?
a) “one”   
b) “onetwo”       
c) “TWO” 
d) All of the above
Answer: (a)
In the given regular expression, ‘\b’ represents the word boundary and ‘|’ represents alternatives. As a result, this regular expression can accept either ‘one’, or ‘two’, or ‘three’ and nothing else.

4. Which of the following can be used to implement orthographic rules?
a) Finite State Automata (FSA)
b) Finite State Transducer (FST)
c) Hidden Markov Model (HMM)
d) None of the above
Answer: (b)
Orthographic rules are spelling rules. The addition of morpheme suffixes may sometime change the spelling of the new word. For example, the plural of the word ‘fox’ is ‘foxes’. We arrived at ‘foxes’ by concatenating ‘fox’ and ‘-s’ with an insertion of ‘e’ in between.
FSA only accepts or rejects a word. That is, it can say ‘yes’ or ‘no’ for certain input on tapes. But due to the change in spelling, we need an automaton that reads from one tape and writes to the other. Hence, FST is the correct choice.

5. The words there and their causes which of the following type of ambiguity?
a) Syntactic
b) Semantic
c) Phonological
d) Pragmatic
Answer: (c)
Phonological ambiguity (phonetic ambiguity) is a type of ambiguity that arises out of the fact that words sound identical, but in fact have different meanings.



*************





Top interview questions in NLP

NLP quiz questions with answers explained

Online NLP quiz with solutions

MCQ one mark question and answers in natural language processing

important quiz questions in nlp for placement





No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery