Computer Science · Artificial Intelligence
1Probabilistic Context-Free Grammars (PCFGs)
See on the mapAbstract
• At least three ways to use probabilities in a parser – Probabilities for choosing between parses • Choose from among the many parses of the input sentence which ones are most likely – Probabilities for speedier parsing • Use probabilities to order or prune the search space of a parser for finding the best parse more quickly – Probabilities for determining the sentence • Use a parser as a language model over a word lattice in order to determine a sequence of words that has the highest probability Parsing as Search 3Parsing for Disambiguation • The integration of sophisticated structural and probabilistic models of syntax is at the very cutting edge of the field – For the non-probabilistic syntax analysis • The context-free grammar (CFG) is the standard – For the probabilistic syntax analysis • No single model has become a standard • A number of probabilistic augmentations to context-free grammars – Probabilistic CFG with the CYK algorithm – Probabilistic lexicalized CFG –Dependency grammars 4Definition of the PCFG • A PCFG G has five parameters 1. A set of non-terminal symbols (or “variables”) N 2. A set of terminal symbols ∑ (disjoint from N) 3. A set of productions P, each of the form A→β, where A is a non-terminal symbol and β is a string of symbols from the infinite set of strings (∑ ∪ N)* 4. A designated start symbol S (or N1) 5. Each rule in P is augmented with a conditional probability assigned by a function D A→β [prob.] • A PCFG G=(N, ∑, P, S, D) P(A→β) or P(A→β|A) ( ) 1 =→ ∀ ∑ βAPA β Booth, 1969 words syntactic categories lexical categories