Ambiguity and the Lexicon in Natural Language
Informatics 2A: Lecture 12 Bonnie Webber
School of Informatics University of Edinburgh bonnie@inf.ed.ac.uk17 October 2008
Informatics 2A: Lecture 12 Ambiguity and the Lexicon in Natural Language 1 Ambiguity in Language The Lexicon 1 Ambiguity in LanguageDerivations and Structural Ambiguity Dealing with Ambiguity
2 The LexiconWord Classes Parts of Speech Part of Speech Ambiguity Word Frequency Readings: J&M (2nd edition) ch. 5 (intro, sec 5.1), ch. 13 (sec 13.2) NLTK Tutorial: Words Reminder: NLTK labs start next week (Week 5)
Informatics 2A: Lecture 12 Ambiguity and the Lexicon in Natural Language 2 Ambiguity in Language The Lexicon Derivations and Structural Ambiguity Dealing with AmbiguityReview: Derivations
Recall from Lecture 4 that equivalent derivations are ones that only differ in the order of non-terminal expansion. Recall also that the set of equivalent derivations of a string from a context-free (CF) phrase structure grammar (PSG) can be represented as a tree. A tree makes no commitment as to the order in which non-terminals are expanded. However, not all derivations of a given string from a given grammar are equivalent.
Informatics 2A: Lecture 12 Ambiguity and the Lexicon in Natural Language 3 Ambiguity in Language The Lexicon Derivations and Structural Ambiguity Dealing with AmbiguityExample
NP → NP VBG NP → N PP NP → N PP → about NP N → complaints | referees VBG → multiplying Consider the string: complaints about referees multiplying How many non-equivalent sets of derivations (ie, different trees) are there for this string?
Informatics 2A: Lecture 12 Ambiguity and the Lexicon in Natural Language 4