Standard PCFGs Lexicalized PCFGs
Parameter Estimation and Lexicalization for PCFGs
Informatics 2A: Lecture 21 John Longley 4 November 2014
1 / 21
Parameter Estimation and Lexicalization for PCFGs Informatics 2A: - - PowerPoint PPT Presentation
Standard PCFGs Lexicalized PCFGs Parameter Estimation and Lexicalization for PCFGs Informatics 2A: Lecture 21 John Longley 4 November 2014 1 / 21 Standard PCFGs Lexicalized PCFGs 1 Standard PCFGs Parameter Estimation Problem 1: Assuming
Standard PCFGs Lexicalized PCFGs
1 / 21
Standard PCFGs Lexicalized PCFGs
2 / 21
Standard PCFGs Lexicalized PCFGs
1 0.02 2 0.00016 3 0.00504 4 0.0002 3 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
4 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
5 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
6 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
7 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
1 Take a CFG and set all rules to have equal probability. 2 Parse the (flat) corpus with the CFG. 3 Adjust the probabilities. 4 Repeat steps two and three until probabilities converge.
8 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
1 They assume the rule choices are independent of one another. 2 They ignore lexical information until the very end of the
9 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
10 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
11 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
12 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
13 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
14 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
15 / 21
Standard PCFGs Lexicalized PCFGs Parameter Estimation Problem 1: Assuming Independence Problem 2: Ignoring Lexical Information
S NP DT NNS VP VBD NP DT NN PP IN NP DT NN S NP DT NNS VP VBD NP NP DT NN PP IN NP DT NN
16 / 21
Standard PCFGs Lexicalized PCFGs Lexicalization Head Lexicalization
17 / 21
Standard PCFGs Lexicalized PCFGs Lexicalization Head Lexicalization
18 / 21
Standard PCFGs Lexicalized PCFGs Lexicalization Head Lexicalization
19 / 21
Standard PCFGs Lexicalized PCFGs Lexicalization Head Lexicalization
20 / 21
Standard PCFGs Lexicalized PCFGs Lexicalization Head Lexicalization
21 / 21