Download presentation
Presentation is loading. Please wait.
Published byDwain Baldwin Modified over 9 years ago
1
Lect. 11Phrase structure rules Learning objectives: To define phrase structure rules To learn the forms of phrase structure rules To compose new sentences using phrase structure rules Learning objectives: To define phrase structure rules To learn the forms of phrase structure rules To compose new sentences using phrase structure rules
2
Phrase structure rules are a type of rewrite rule used to describe a given language's syntax and are closely associated with the early stages ofrewrite rulesyntax Phrase structure rules are a type of rewrite rule used to describe a given language's syntax and are closely associated with the early stages ofrewrite rulesyntax
3
transformational grammartransformational grammar, being first proposed by Noam Chomsky in 1957.Noam Chomsky transformational grammartransformational grammar, being first proposed by Noam Chomsky in 1957.Noam Chomsky
4
Rewrite rules, phrase structure rules, takes the form A → X, where A is a syntactic category label, such as noun phrase or sentence, and X is a sequence of such labels and/or morphemes,.phrase structure rules syntactic categorynoun phrasesentencemorphemes Rewrite rules, phrase structure rules, takes the form A → X, where A is a syntactic category label, such as noun phrase or sentence, and X is a sequence of such labels and/or morphemes,.phrase structure rules syntactic categorynoun phrasesentencemorphemes
5
expressing the fact that A can be replaced by X in generating the constituent structure of a sentence.For example, the rule S → NP VP means that a sentence can
6
consist of a noun phrase followed by a verb phrase; further rules will specify what sub-constituents a noun phrase and a verb phrase can consist of, and so on.verb phrase consist of a noun phrase followed by a verb phrase; further rules will specify what sub-constituents a noun phrase and a verb phrase can consist of, and so on.verb phrase
7
Activity 1 Give examples of: Noun phrases 1. 2. Verb phrases 1. 2.
8
They are used to break down a natural language sentence into its constituent parts, also known as syntactic categories, including both lexical categories (parts of speech) and phrasal categorieslanguagesyntactic categoriesparts of speechphrasal They are used to break down a natural language sentence into its constituent parts, also known as syntactic categories, including both lexical categories (parts of speech) and phrasal categorieslanguagesyntactic categoriesparts of speechphrasal
9
A grammar that uses phrase structure rules is a type of phrase structure grammar. Phrase structure rules as they are commonly employed operate according to the constituency relation, and a grammar that employs phrase structure rules is therefore a constituency grammar; as such, it stands in contrast to dependency grammarsphrase structure grammarconstituencydependency grammars A grammar that uses phrase structure rules is a type of phrase structure grammar. Phrase structure rules as they are commonly employed operate according to the constituency relation, and a grammar that employs phrase structure rules is therefore a constituency grammar; as such, it stands in contrast to dependency grammarsphrase structure grammarconstituencydependency grammars
10
Activity 2 What phrase structure grammarWhat phrase structure grammar is?. What constituency grammar is?
11
Examples Phrase structure rules usually take the following form: meaning that the constituent is separated into the two sub- constituents B and C.constituent Phrase structure rules usually take the following form: meaning that the constituent is separated into the two sub- constituents B and C.constituent
12
: Examples for English
13
The first rule : An S (sentence) consists of an NP (noun phrase) followed by a VP (verb phrase).sentencenoun phraseverb phrase The second rule reads: A noun phrase consists of an optional Det (determiner) followed by an N (noun).determiner The first rule : An S (sentence) consists of an NP (noun phrase) followed by a VP (verb phrase).sentencenoun phraseverb phrase The second rule reads: A noun phrase consists of an optional Det (determiner) followed by an N (noun).determiner
14
The third rule means that an N (noun) can be preceded by an optional AP (adjective phrase) and followed by an optional PP (prepositional phrase). The round brackets indicate optional constituents.adjective phraseprepositional phrase The third rule means that an N (noun) can be preceded by an optional AP (adjective phrase) and followed by an optional PP (prepositional phrase). The round brackets indicate optional constituents.adjective phraseprepositional phrase
15
Beginning with the sentence symbol S, and applying the phrase structure rules successively, finally applying replacement rules to substitute actual words for the abstract symbols, it is possible to generate many proper sentences of English
16
If the rules are correct, then any sentence produced in this way ought to be grammatically (syntactically) correct.correct If the rules are correct, then any sentence produced in this way ought to be grammatically (syntactically) correct.correct
17
Activity3 Give examples of grammatically correct sentences: 1. 2. 3.
18
It is also to be expected that the rules will generate syntactically correct but semantically nonsensical sentences, such as the following well-known example semantically It is also to be expected that the rules will generate syntactically correct but semantically nonsensical sentences, such as the following well-known example semantically
19
Examples 1.The red mouse chased the cat. 2.The black tree smiles at me 1.The red mouse chased the cat. 2.The black tree smiles at me
20
Colorless green ideas sleep furiously This sentence was constructed by Noam Chomsky as an illustration that phrase structure rules are capable of generating syntactically correct but semantically incorrect sentences. Noam Chomsky Colorless green ideas sleep furiously This sentence was constructed by Noam Chomsky as an illustration that phrase structure rules are capable of generating syntactically correct but semantically incorrect sentences. Noam Chomsky
21
Activity 4 Give examples of syntactically correct but semantically incorrect sentences. 1. 2.
22
Phrase structure rules break sentences down into their constituent parts. These constituents are often represented as tree structures. The tree for Chomsky's sentence can be:tree structures Phrase structure rules break sentences down into their constituent parts. These constituents are often represented as tree structures. The tree for Chomsky's sentence can be:tree structures
23
The Tree for Chomsky's Sentence
24
Draw a tree diagram for the following 1.The old man walked slowly.
25
A constituent is any word or combination of words that is dominated by a single node. Thus each individual word is a constituent.
26
Further, the subject NP Colorless green ideas, the minor NP green ideas, and the VP sleep furiously are constituents. Phrase structure rules and the tree structures that are associated with them are a form of immediate constituents analysisimmediate Further, the subject NP Colorless green ideas, the minor NP green ideas, and the VP sleep furiously are constituents. Phrase structure rules and the tree structures that are associated with them are a form of immediate constituents analysisimmediate
27
An important aspect of phrase structure rules is that they view sentence structure from the top down. The category on the left of the arrow is a greater constituent and the immediate constituents to the right of the arrow are lesser constituents.
28
Constituents are successively broken down into their parts as one moves down a list of phrase structure rules for a given sentence Next class the on tree diagramming. The end Constituents are successively broken down into their parts as one moves down a list of phrase structure rules for a given sentence Next class the on tree diagramming. The end
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.