Parsing Flashcards

1
Q

Ambiguity with prepositional phrases

A

For n prepositional phrases, there are 2^n possible parse trees.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Top-down or Bottom-up strategy

A

Brute force

Inefficient (2^n)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Chart parsers

A

Numbers the spaces between words, then computes the variables (phrase-type symbols) that can cover each span

Avoids reconstructing partial parses over and over again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

CKY Parser

A

A type of chart parser

Order N^3

Needs a grammar in Chomsky Normal Form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Assigning probabilities to a parse tree

A

Label each node with the probability of the label.

The probability of the tree is the product of the probabilities of the labels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly