LING/C SC 581: Advanced Computational Linguistics

Slides:



Advertisements
Similar presentations
School of something FACULTY OF OTHER School of Computing FACULTY OF ENGINEERING Chunking: Shallow Parsing Eric Atwell, Language Research Group.
Advertisements

LING 581: Advanced Computational Linguistics Lecture Notes January 30th.
Computational language: week 10 Lexical Knowledge Representation concluded Syntax-based computational language Sentence structure: syntax Context free.
How to perform tree surgery Anna Rafferty Marie-Catherine de Marneffe.
LING 581: Advanced Computational Linguistics Lecture Notes February 9th.
LING 581: Advanced Computational Linguistics Lecture Notes January 19th.
LING 581: Advanced Computational Linguistics Lecture Notes February 2nd.
LING 581: Advanced Computational Linguistics Lecture Notes March 9th.
LING 581: Advanced Computational Linguistics Lecture Notes January 26th.
LING 581: Advanced Computational Linguistics Lecture Notes January 26th.
The Wonderful World of Tregex
LING 581: Advanced Computational Linguistics Lecture Notes January 19th.
1 Session-13 CSIT 121 Spring 2006 Test-1 is on March 9 th ; Demo-5 due date extended to March 7 Test-1 is on March 9 th ; Demo-5 due date extended to.
LING 388: Language and Computers Sandiway Fong 10/4 Lecture 12.
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Jan 22 nd.
Chapter 4 Syntax Part II.
LING/C SC/PSYC 438/538 Lecture 27 Sandiway Fong. Administrivia 2 nd Reminder – 538 Presentations – Send me your choices if you haven’t already.
1 LIN 1310B Introduction to Linguistics Prof: Nikolay Slavkov TA: Qinghua Tang CLASS 13, Feb 16, 2007.
Syntax 1 st class on Syntax Chapter 4. Hierarchical Structure  Sentences have internal structure that makes them more than just a sequence of words.
I am Dr. Abdulrahman Alqurashi
What is itFinnish the Phrase Wonder Wheel.
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Feb 5 th.
LING/C SC/PSYC 438/538 Lecture 18 Sandiway Fong. Adminstrivia Homework 7 out today – due Saturday by midnight.
3.3 A More Detailed Look At Transformations Inversion (revised): Move Infl to C. Do Insertion: Insert interrogative do into an empty.
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Feb 3 rd.
LING/C SC 581: Advanced Computational Linguistics Lecture Notes Feb 17 th.
LING 581: Advanced Computational Linguistics Lecture Notes March 2nd.
10/31/00 1 Introduction to Cognitive Science Linguistics Component Topic: Formal Grammars: Generating and Parsing Lecturer: Dr Bodomo.
Regular Expressions Upsorn Praphamontripong CS 1110
An Introduction to the Government and Binding Theory
LING/C SC/PSYC 438/538 Lecture 3 Sandiway Fong.
LING/C SC/PSYC 438/538 Lecture 10 Sandiway Fong.
Introduction to Corpus Linguistics: Basic tools: Concordances
LING/C SC/PSYC 438/538 Lecture 21 Sandiway Fong.
LING/C SC/PSYC 438/538 Lecture 20 Sandiway Fong.
ITE 130 Web Searching.
LING 388: Computers and Language
LING/C SC/PSYC 438/538 Lecture 4 Sandiway Fong.
LING/C SC 581: Advanced Computational Linguistics
LING/C SC/PSYC 438/538 Lecture 3 Sandiway Fong.
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
سیستم‌های مبتنی بر دانش
LING/C SC/PSYC 438/538 Lecture 23 Sandiway Fong.
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING/C SC/PSYC 438/538 Lecture 24 Sandiway Fong.
Go to www. livebinders. com Click on Sign Up
LING/C SC/PSYC 438/538 Lecture 25 Sandiway Fong.
LING/C SC/PSYC 438/538 Lecture 26 Sandiway Fong.
Go to www. livebinders. com Click on Sign Up
LING/C SC/PSYC 438/538 Lecture 11 Sandiway Fong.
LING/C SC 581: Advanced Computational Linguistics
Bell Ringer Use the Distributive Property to solve #1 and #2.
LING/C SC 581: Advanced Computational Linguistics
Simplify each expression.
Bell Ringer Use the Distributive Property to solve #1 and #2.
If f(x) = 4x – 7, find each function value.
Simplify each expression.
LING/C SC 581: Advanced Computational Linguistics
If f(x) = 4x – 7, find each function value.
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING/C SC 581: Advanced Computational Linguistics
LING/C SC/PSYC 438/538 Lecture 4 Sandiway Fong.
LING/C SC/PSYC 438/538 Lecture 3 Sandiway Fong.
Presentation transcript:

LING/C SC 581: Advanced Computational Linguistics Lecture 20 March 28th

Administrivia Homework 8 on tregex

tregex The best introduction to Tregex is the brief powerpoint tutorial for Tregex by Galen Andrew. Google: wonderful world of tregex The_Wonderful_World_of_Tregex.ppt

tregex Preferences

tregex useful command line tool: diff <file1> <file2>

tregex

tregex Help: tregex expression syntax is non-standard wrt bracketing S < VP S < NP

tregex Help: tregex boolean syntax is also non-standard

tregex Help

tregex x <, y, 1st child y; x <- y, last child y; x $+ y, x immediate left sister of y

tregex same node Pattern: (@NP <, (@NP $+ (/,/ $+ (@NP $+ /,/=comma))) <- =comma) Key: <, first child $+ immediate left sister <- last child

tregex Help

tregex

tregex Different results from: @SBAR < /^WH.*-([0-9]+)$/#1%index << (@NP < (/^-NONE-/ < /^\*T\*-([0- 9]+)$/#1%index))

tregex Reason for difference Example: WHADVP also possible (not just WHNP)

Treebank Guide Parsing guide 1, prsguid1.pdf (318 pages): prsguid2.pdf: addendum for the Switchboard corpus

Homework 8 Read about *PPA* in prsguid1.pdf (section 5.2). Q1: Write a tregex expression to search for Prepositional Phrase (PP) PPAs. How many of them are there?

Homework 8 Q2: Write a tregex expression to search for non-PP PPAs. I.e. what other basic categories of PPAs besides Prepositional Phrase (PP) PPAs are there? List them. Note: by basic we mean @

Homework 8 Q3: Find the section on Topicalization in prsguid1.pdf. How are topicalized elements marked? How many examples of topicalized elements are there in the WSJ? Using Save Matched Sentences and any necessary Python code, how many types of topicalized elements are there? How many types occur more than once? (You may want to use nltk.FreqDist().) Note: by type we mean by grammatical category

Homework 8 Due next Wednesday night. Review next week this time.