=>The study of the rules that govern the structures of phrases or sentences
=>Representational device is tree structure diagram.
What is wrong with the following rule of English syntactic structure?
" A prepositional phrase rewrites as a preposition followed by a noun "
" all and only" criterion: careful with forming rules, all grammatically correct phrases/ sentences, only those grammatically correct phrases/ sentences in the language
A set of rules defining the possible phrases and sentences in a language.
S -> NP VP
NP -> ( art (adj) N, Pro, PN)
VP -> V NP
PP -> P NP
Phrase structure rules: the structure of a phrase of a specific type consists of one or more constituents in a particular order.
A S ( sentence) consists of a NP( noun phrase ) followed by a VP ( verb phrase )
S => NP VP
Eg: The busy boy/ was eating.
NP / VP
A noun phrase (NP) rewrites as either an article ( art) plus an optional adject ( Adj) plus a noun ( N), or a pronoun ( Pro), or a proper noun ( PN).
NP-> {Art ( adj) N, Pro, PN}
Eg: a ( beautiful) girl, the bus, you, Marie.
A verb phrase (VP) rewrites as a verb ( V) plus a noun phrase ( NP)
VP -> V NP
Eg: is you, love me, do the trick
Surface structures are the different syntactic forms they have as individual English sentences.
Charlie broke the window -> Active voice
The window was broken by Charlie -> passive voice.
=> In fact, the two sentences are closely related, even identical.
Example:
Charlie broke the window . S -> NP(PN) V NP
TTHe window was broken by Charlir. S -> NP Aux V P PN
It was Charliee who broke the window. S -> P V PN S' (S' -> P V NP)
Was the window broken by Chrlie? S-> Aux NP V P PN
A situation in which a single phrase or sentence has two ( or more) different underlying structures and interpretations.
Eg: Annie pumped into a man with an umbrella
Syntactic ambiguity occurs when the grammatical arrangement of words makes the meaning of a sentence unclear. The meaning of each word may be clear, but we cannot understand the overall sense. Here are a few.
-> A syntactic rule
-> moving/ changing parts of structures to different positions
Eg: You would help the little boy.
Would you help the little boy?
-> Aux-movement
-> A special arrow (=>) is used to indicate that a constituent can be moved.
Eg: Aux-movement : NP Aux VP=> Aux NP VP
Syntax analysis uses context-free grammar to define programming language syntax, with two main approaches: top-down and bottom-up parsing.
Phrase structure rules (or PSRs) are the rules we use to build tree diagrams. They are a way to describe and record which kind of phrases can occur inside and modify which other kinds of phrases. They are also hypotheses, so if we find a sentence that doesn’t fit with our rules, we should not panic!
S -> NP VP
NP -> ( art (adj) N, Pro, PN)
VP -> V NP
Lexical rules: used to transform the structures generated by the phrase structure rules into proper and understandable English
= Lexical rules: rules stating which words can be used for constituents generated by phrase structure rules.
PN -> {John, Mary }
N -> { girl, dog, boy }
V -> { followed, helped, saw}
Art -> { a, the}
Adj -> { big, small }
Pro -> {it, you}
One of the best ways to create a visual representatiion od underlying syntactic structure is through tree diahgrams.
NP -> ART N NP
Art N
A dog
VP
V NP
Art N
followed the boy
We can now put together tree diagrams for whole sente ces, hierarchically organized, as shown in figire. Notice that essientially the same bsic tree diagram strucuture is the foundation for all the different setences.
(1) S (2) S
NP VP NP VP
Art N V NP Pro V NP
Art N Pro
A dog followed the boy You saw it