ling 388: language and computers sandiway fong lecture 21
TRANSCRIPT
![Page 1: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/1.jpg)
LING 388: Language and Computers
Sandiway FongLecture 21
![Page 2: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/2.jpg)
g20.pl
• From the course website, g20.pl incorporates:– perfective have, progressive be and passive be
perfectivehave progressive
be
passivebe
main verb
Start
![Page 3: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/3.jpg)
g20.pl
• S rules:
![Page 4: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/4.jpg)
g20.pl
• VP rules:
![Page 5: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/5.jpg)
g20.pl
• Auxiliary verb rules:
![Page 6: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/6.jpg)
g20.pl
• NP rules:
![Page 7: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/7.jpg)
g20.pl
• Lexical rules for determiners and nouns:
![Page 8: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/8.jpg)
g20.pl
• Lexical rules for main verbs:
![Page 9: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/9.jpg)
g20.pl
• SBAR rules:
• Subject verb agreement table:
![Page 10: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/10.jpg)
Case Constraint
there is a Case Constraint on pronouns• Examples
1. I ate the sandwich (active with subject pronoun)2. *me ate the sandwich3. the boy saw me (active with object pronoun)4. *the boy saw I5. the sandwich was eaten (passive)6. *the sandwich was ate7. the sandwich was eaten by me (passive + subject in by-
phrase)8. *the sandwich was eaten by I
![Page 11: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/11.jpg)
Case Constraint
• We need to add a lexical feature Case to all NPs, currently NPs report Parse, Person and Number:
Since common and proper nouns can appear in any position, we leave Case unrestricted, i.e. set the value of Case to be the anonymous variable (_) for those NPs
![Page 12: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/12.jpg)
Case Constraint
• We need to add lexical entries for pronouns to report the value of Person, Number and Case
http://uptodate-amef.blogspot.com/2011/09/personal-pronouns.html
Values:nom Nominativeacc Accusative
![Page 13: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/13.jpg)
Case Constraint
• NPs are inserted as subject and object of clauses (also objects of prepositions)
Values:nom Nominativeacc Accusative
Values:nom Nominative
Subject positionsacc Accusative
Object positions
nom
![Page 14: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/14.jpg)
Case Constraint
• NPs are inserted as subject and object of clauses (also objects of prepositions)
Values:nom Nominative
Subject positionsacc Accusative
Object positions
acc
![Page 15: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/15.jpg)
PP by-Phrase
• Example:– The sandwich had been eaten by me/him/*I/*he– Parse?
• Only one by-phrase (agent) is allowed• It attaches to the vbn (-en) verb following
passive be in the Stanford Parser
acc
![Page 16: LING 388: Language and Computers Sandiway Fong Lecture 21](https://reader035.vdocument.in/reader035/viewer/2022062322/5697bfcf1a28abf838ca9d3c/html5/thumbnails/16.jpg)
PP by-Phrase
• Modify the vp_passive rule associated with passive be:
• Desired output: