90 likes | 188 Views
LING 581: Advanced Computational Linguistics. Lecture Notes April 5th. Today’s Topics. Homework Revisited Part 3: Presentations Proposal for FNA/Treatise corpora experiments. Last Time: Montague-style. One possible solution:. Last Time: Barwise -Cooper style.
E N D
LING 581: Advanced Computational Linguistics Lecture Notes April 5th
Today’s Topics • Homework Revisited • Part 3: Presentations • Proposal for FNA/Treatise corpora experiments
Last Time: Montague-style • One possible solution:
Last Time: Barwise-Cooper style • Possible solution (needs modification):
Last Time: Barwise-Cooper style fails because it stops for each instantiation (reading) of _G312
Last Time: Barwise-Cooper style • Use Var^ with setof or findall:
Quantifiers: Homework Part 3: Coordination • Extend your two grammars to handle • Every man and every woman likes John
Other Quantifiers • Other quantifiers can also be expressed using set relations between two predicates: Example: no: {X: P1(X)} ∩ {Y: P2(Y)} = ∅ ∩ = set intersection ∅ = empty set no man smokes {X: man(X)} ∩ {Y: smokes(Y)} = ∅ should evaluate to true for all possible worlds where there is no overlap between men and smokers men smokers
Other Quantifiers • Other quantifiers can also be expressed using set relations between two predicates: Example: some: {X: P1(X)} ∩ {Y: P2(Y)} ≠∅ ∩ = set intersection ∅ = empty set some men smoke {X: man(X)} ∩ {Y: smokes(Y)} ≠ ∅ men smokers