Techniques of Grammatical Analysis - PowerPoint PPT Presentation

About This Presentation
Title:

Techniques of Grammatical Analysis

Description:

After breaking up a sentence, we can give morphological labels to each units ... Modification (modifier head) Complementation (verbal complement) ... – PowerPoint PPT presentation

Number of Views:917
Avg rating:3.0/5.0
Slides: 47
Provided by: cseIi3
Category:

less

Transcript and Presenter's Notes

Title: Techniques of Grammatical Analysis


1
Techniques of Grammatical Analysis
  • Rajat Kumar Mohanty
  • rkm_at_cse.iitb.ac.in
  • IIT Bombay

2
What is Grammar?
  • A theory of language
  • A theory of competence of a native speaker
  • An explicit model of competence
  • A finite set of rules

3
What are the requirements?
  • A model of competence
  • Should be able to generate an infinite set of
    grammatical sentences of the language
  • Should not generate any ungrammatical ones
  • Should be able to account for ambiguities
  • If two sentences are understood to have same
    meaning, the grammar should give the same
    structure for both at some level
  • If two sentences are understood to have different
    internal relationship, the grammar should assign
    different structural description

4
Techniques of Grammatical Analysis
  • Two main devices
  • Breaking up a string
  • Sequential
  • Hierarchical
  • Transformational
  • Labeling the constituents
  • Morphological
  • Categorial
  • Functional
  • A grammar may combine any of these devices for
    grammatical analysis.

5
(No Transcript)
6
Breaking up and Labeling
  • Sequential Breaking up
  • Sequential Breaking up and Morphological labeling
  • Sequential Breaking up and Categorial labeling
  • Sequential Breaking up and Functional labeling
  • Hierarchical Breaking up
  • Hierarchical Breaking up and Categorial Labeling
  • Hierarchical Breaking up and Functional Labeling

7
Sequential Breaking up
  • This device breaks up a sentence into a sequence
    of morphemes
  • the boy s kill ed the un happy
    rat s
  • raam ne dande se saap ko maar aa
  • If a sentence is understood in two different
    ways, a grammar should give two corresponding
    descriptions
  • They can fish
  • They are able to fish
  • They put fish in cans

8
Sequential Breaking up and Morphological labeling
After breaking up a sentence, we can give
morphological labels to each units
the boy s kill ed the un
happy rat s
word stem affix stem affix
word affix stem stem affix
raam ne dande se saap ko maar aa
word affix word affix
word affix word affix
9
Sequential Breaking up and Categorical Labeling
  • This boy can solve the problem

10
Sequential Breaking up and Categorical Labeling
(continued)
  • They can fish
  • Pronoun Aux Verb
  • They can fish
  • Pronoun Verb Noun

11
Sequential Breaking up and Categorical Labeling
(continued)
  • They called her a taxi
  • Pronoun Verb Pronoun Article Noun
  • They said she was a taxi
  • They called a taxi for her

12
Sequential Breaking up and Functional labeling
  • They called her a taxi

Subject
Verbal
IO
DO
They called her a taxi
Object Complement
Subject
Verbal
DO
13
Sequential Breaking up and Functional labeling
(continued)
Old men and women
Head
modifier
Head
coordinator
14
Hierarchical Breaking up
  • This device breaks up a sentence into its
    constituents at different hierarchies or levels

Old men and women
Old men and women
men and women
and
women
Old men
Old
women
and
men
men
Old
15
Hierarchical Breaking up and Categorial Labeling
  • Poor John ran away

ADJ
V
ADV
N
VP
NP
16
Hierarchical Breaking up and Functional Labeling
  • Immediate Constituent Analysis
  • Construction types in terms of the function of
    the constituents
  • Predication (subject predicate)
  • Modification (modifier head)
  • Complementation (verbal complement)
  • Subordination (subordinator dependent unit)
  • Coordination (independent unit coordinator
    independent unit)

17
In the morning, the sky looked much
brighter
Head
Mod
  • Mod

Head
Mod
Head
Verbal
Complement
Predicate
Subject
Sub
DU
Head
Modifier
18
Hierarchical Breaking up and Categorial
/Functional Labeling
  • Hierarchical Breaking up coupled with Categorial
    /Functional Labeling is a very powerful device
  • But there are ambiguities which demand something
    more powerful

19
Love of God
  • Someone loves God
  • God loves someone

Love of God
Love of God
Head
Modifier
Noun Phrase
Prepositional Phrase
DU
Sub-
God
of
love
love
of
God
20
Generative Grammar
  • A generative grammar
  • generates all the grammatical sentences of the
    language
  • rejects all the ungrammatical ones
  • It is free to choose and combine any of the
    techniques of breaking up and labeling
  • Depending upon what tools the grammar combines,
    we have different types of grammar

21
Types of Generative Grammar
  • Finite State Model
  • (sequential)
  • Phrase Structure Model
  • (sequential hierarchical)
  • Transformational Model
  • (sequential hierarchical transformational)

22
Phrase Structure Model
  • Inadequacies
  • Ambiguity
  • Paraphrase Relationship
  • Constructional Homonymy

23
Ambiguity
  • If a sentence is understood to have two meanings,
    a grammar should give two corresponding
    structural descriptions
  • PS grammar fails to meet this demand
  • The shooting of the hunters
  • The hunter shot someone
  • Someone shot the hunters

24
NP
PP
NP
N
Det
P
NP
Det
N
the
shooting
of
the
hunters
25
Paraphrase Relationship
  • If two sentences are understood to have the same
    meaning, a grammar should give the same
    structural description for the two sentences at
    some level
  • PS grammar fails to meet this demand
  • Examples
  • The boy slapped the girl
  • The girl was slapped by the boy

26
S
VP
NP
N
Det
V
NP
Det
N
The
boy
slapped
the
girl
27
S
VP
NP
N
Det
V
PP
Aux
V
P
NP
The
girl
slapped
by
boy
was
the
28
Constructional Homonymy
  • If two sentences are not understood the same way,
    a grammar should give two structural descriptions
  • PS grammar cannot do this
  • The audience was asked to leave by the side-door
  • The audience was asked to leave by the chairman

29
S
VP
NP
V
Inf. Phr
N
Det
Aux
V
Inf.
VP
V
PP
P
NP
Det
N
The
audience
asked
to
Side-door
was
leave
by
the
30
S
VP
NP
V
Inf. Phr
N
Det
Aux
V
Inf.
VP
V
PP
P
NP
Det
N
The
audience
asked
to
Chairman
was
leave
by
the
31
Transformational Model
  • If a generative grammar makes use of all the
    three
  • -sequential
  • -hierarchical and
  • -transformational
  • is called a Transformational grammar.

32
Transformational model
  • PS model
  • Makes use of PS rules exclusively
  • PS rules generate surface structure
  • Makes use of PS rules and transformational rules
  • PS rules generate DS
  • DS is converted into the surface structure by
    transformational rules

33
PS grammar
Surface Structure
PS rules
  • Transformational grammar

PS rules
Transformation
Deep Structure
Surface Structure
34
Why wasnt he punished?
  • PS rules
  • S ? NP VP
  • VP ? V - NP PP
  • V ? Aux V
  • Aux? (Tense)-(Modal)-(Perf)-(Prog)
  • Tense ? pres/past
  • NP ? (PreDet) - (Det) - (Ord) -(Quan) -(AP)-N
  • Lexical substitution

35
S
VP
NP
VG
PP
NP
Aux
V
Tense
Someone
past
him
for some reason
punish
36
Why wasnt he punished?(continued)
  • Transformations
  • Passivization
  • Agent deletion
  • Negation
  • Neg. Contraction
  • Wh- substitution
  • Interrogation
  • Wh- fronting
  • Affix switch

37
Passivization
S
VP
NP
VG
PP
PP
Aux
V
P
NP
N
Tense
Pass
for Some reason
He
past
by
punish
be
en
someone
38
Agent Deletion
S
VP
NP
VG
PP
Aux
V
Tense
Pass
for some reason
He
past
punish
be
en
39
Negation
S
VP
NP
VG
PP
Aux
V
Tense
Pass
for some reason
He
past
punish
be
en
not
40
Neg. Contraction
S
VP
NP
VG
PP
Aux
V
Tense
Pass
for some reason
He
past
punish
en
benot
41
Wh- Substitution
S
VP
NP
VG
WH
Aux
V
Tense
Pass
why
He
past
punish
en
benot
42
Interrogative
S
VP
NP
Aux
VG
WH
V
Tense
why
he
past
punish
en
benot
43
Wh-fronting
S
VP
NP
Aux
WH
VG
V
Tense
why
he
past
punish
en
benot
44
Affix switch
S
VP
NP
Aux
WH
VG
Tense
V
past
benot
punish
en
why
he
wasnot
punished
45
Suggested Readings
  • Lyons, John. 1977. Chomsky. Fontana, London.
  • Palmer, Frank. Grammar
  • Crystal, David. Linguistics

46
THANK YOU
  • Q\A
Write a Comment
User Comments (0)
About PowerShow.com