Natural Language Processing - Unit-2
Atranslating a sentence
Bcounting the words of a sentence
Canalysing a sentence to determine its syntactic structure
Dtagging the sentiment of a sentence
Correct Answer
analysing a sentence to determine its syntactic structure
Aa corpus annotated with syntactic structure
Ba list of stop words
Ca dictionary of synonyms
Da collection of speech recordings
Correct Answer
a corpus annotated with syntactic structure
AEnglish text
BChinese speech
Cprogramming code
Dmathematical formulas
Correct Answer
English text
Alist of word counts
Btable of probabilities
Cphrase structure tree
Dsequence of letters
Correct Answer
phrase structure tree
Aonly the word frequencies
Bonly the nonterminal symbols
Cthe sound of each word
Dheadβdependent relations between words
Correct Answer
headβdependent relations between words
Aonly terminals
Bonly a lexicon
Conly probabilities
Dterminals, non-terminals, production rules and a start symbol
Correct Answer
terminals, non-terminals, production rules and a start symbol
Athe input words only
Bthe start symbol and expands it using the rules
Cthe last word
Dthe probability table
Correct Answer
the start symbol and expands it using the rules
Athe start symbol
Bthe input words and builds up towards the start symbol
Cthe grammar rules only
Dthe parse tree
Correct Answer
the input words and builds up towards the start symbol
ABackusβNaur Form only
BChomsky Normal Form
CGreibach Normal Form only
Dany unrestricted form
Correct Answer
Chomsky Normal Form
AO(n)
BO(nΒ³)
CO(log n)
DO(2βΏ)
Correct Answer
O(nΒ³)
Aworks only for regular grammars
Bhandles arbitrary context-free grammars using dynamic programming
Cneeds no grammar
Dworks only in Chomsky Normal Form
Correct Answer
handles arbitrary context-free grammars using dynamic programming
Aonly the final answer
Bthe training corpus
Cpartial parse results in a chart to avoid recomputation
Dthe word embeddings
Correct Answer
partial parse results in a chart to avoid recomputation
Aa stack and an input buffer
Ba hash table only
Ca neural network only
Da queue of probabilities only
Correct Answer
a stack and an input buffer
Abottom-up chart parsers only
Btokenizers
Cstemmers
Dtop-down recursive descent parsers
Correct Answer
top-down recursive descent parsers
Alexical ambiguity only
Bno ambiguity
Cspelling errors
Dstructural (PP-attachment) ambiguity
Correct Answer
structural (PP-attachment) ambiguity
Aa grammar without rules
Ba dictionary
Ca context-free grammar whose rules have probabilities
Da neural network
Correct Answer
a context-free grammar whose rules have probabilities
Asum to 0
Bare all equal to 0.5
Care all greater than 1
Dsum to 1
Correct Answer
sum to 1
Awriting rules at random
Breading the grammar rules off the annotated trees
Ctranslating the sentences
Ddeleting all trees
Correct Answer
reading the grammar rules off the annotated trees
Anoun phrase
Bnew phrase
Cnon-terminal path
Dnamed predicate
Correct Answer
noun phrase
Athe first letter of the phrase
Bthe word that determines the syntactic category of the phrase
Calways a punctuation mark
Dthe longest word
Correct Answer
the word that determines the syntactic category of the phrase
Acrossing dependency arcs
Bno arcs
Conly one word
Dno root
Correct Answer
crossing dependency arcs
Aperplexity
Blabelled precision and recall
Ccompression ratio
Dedit distance only
Correct Answer
labelled precision and recall
Aa speech recognizer
Ba type of neural network
Ca spelling checker
Da cross-linguistically consistent dependency annotation scheme
Correct Answer
a cross-linguistically consistent dependency annotation scheme
Atheir sentiment scores
Btheir grammatical categories
Ctheir pronunciations
Dtheir frequencies
Correct Answer
their grammatical categories
Athe shortest sentence
Bthe most probable parse
Call possible words
Dthe least probable parse
Correct Answer
the most probable parse
Fill in the Blanks
26
A corpus annotated with syntactic structure is called a __________.
Correct Answer
treebank
27
The Penn __________ is a well-known English annotated corpus.
Correct Answer
Treebank
28
CFG stands for Context-__________ Grammar.
Correct Answer
Free
29
__________-down parsing starts from the start symbol and expands the rules.
Correct Answer
Top
30
__________-up parsing starts from the input words.
Correct Answer
Bottom
31
The CKY algorithm needs the grammar in __________ Normal Form.
Correct Answer
Chomsky
32
The CKY algorithm runs in O(n^__________) time.
Correct Answer
3
33
The __________ parser uses dynamic programming and can parse any context-free grammar.
Correct Answer
Earley
34
A __________ parser stores partial results in a table to avoid recomputation.
Correct Answer
chart
35
PCFG stands for Probabilistic __________ Grammar.
Correct Answer
Context-Free
36
A dependency grammar represents the relation between a __________ and its dependents.
Correct Answer
head
37
In a parse tree, NP stands for __________ phrase.
Correct Answer
noun
38
Left __________ can make a top-down parser loop forever.
Correct Answer
recursion
39
The sentence 'I saw the man with a telescope' shows PP-__________ ambiguity.
Correct Answer
attachment
40
A shift-reduce parser uses a stack and an input __________.
Correct Answer
buffer