Presentation is loading. Please wait.

Presentation is loading. Please wait.

Natural Language and Logic: Some Difficulties John Barnden Professor of Artificial Intelligence School of Computer Science

Similar presentations


Presentation on theme: "Natural Language and Logic: Some Difficulties John Barnden Professor of Artificial Intelligence School of Computer Science"— Presentation transcript:

1

2 Natural Language and Logic: Some Difficulties John Barnden Professor of Artificial Intelligence School of Computer Science j.a.barnden@cs.bham.ac.uk

3 Substances §Do you like peanut butter? What exactly is it you like?  likes(student123, peanut-butter) ???  .x ( likes(student123, x)  is-peanut-butter(x) ) ???

4 Object Identity §What is a river? The water is constantly exchanged. And are the banks included? § So what would a logic constant like  the-nile stand for??? §Lincoln’s ax(e): Repaired bit by bit over years. Is it the same axe at the end?  What would lincolns-ax stand for?

5 Subtlety of Common Actions § “Tesco sells pineapples” § What does this mean, exactly? §And does it actually matter?  sells(Tesco, pineapples) ????? §Simple representation, but what inferences can be drawn ??

6 Subtlety of Prepositions §“There’s a banana in the bowl” §The banana need not be within the volume of the bowl. §“There’s a mirror on my ceiling” §The mirror is below the ceiling! §“Vanessa Granola is at her desk”

7 Context Often Needed for Precise Meaning: Some Examples §Ambiguous words (bank, newspaper, that, new, …) §Vagueness (chair, furniture, several, soon, here, tall, red, reddish, …) §Prepositional phrase attachment. “Hank saw Vanessa with a telescope” Did Hank use a telescope? Or did Vanessa have a telescope?

8 Context-Sensitivity: Pronouns §Pronouns (it, he, them, that, you, …). §Special problems with plural pronouns (we,…). §Some pronouns can refer to very vague, implicit, and/or abstract things. “That was a good plan.”

9 More General Anaphora §“John dropped the teapot. The handle broke.” §“When John got home, he couldn’t find his key.”

10 Other Discourse Coherence Issues §“Mary went to the cinema. Afterwards, she couldn’t afford the bus home.” (Implied Link: cause or reason.) §“Mary likes going to the cinema. Last week she saw three films.” (Implied link: example.) §“OK, now remove the battery. Unscrew the casing and lever it out.” (Implied link: explication.)

11 Noun-Noun Compounds Beer mug. Glass mug. Paper boat. Flower bed. Sofa bed. Paper boat anchor. Library sofa bed. Steel nail hammer. Steel nail hammer shock horror genre.

12 Quantification: Context-Sensitive §“When Hank arrived everyone laughed” §…. .x (is-person(x)  laughed(x)) would be wrong §“When Hank arrived everyone sat down to dinner.” §“Hank doesn’t believe anything Vanessa tells him”

13 Quantification contd. §“When Hank arrived someone laughed” §“When Hank arrived several people laughed.”

14 Vague Quantification §Most, a few, several, many, ….  Most.x (is-person(x)  anxious(x)) ???? §But what inferences could you draw, and how?

15 Embedding of Propositions, Situations, etc. §“Vanessa fell over because Hank bumped into her” §In ordinary first-order logic, can’t write things like cause( bumpinto(H,V), fallover(V) )  if bumpinto and fallover are predicate symbols, because formulas (e.g. bumpinto(H,V) ) can’t be arguments in applications of predicate symbols etc.

16 §One method: take situations, events, etc. to be objects, just as e.g. people are.   f,b (is-fallover-event(f,V)  is-bumpinto-event(b,H,V)  cause(b,f))  Situations, events, etc. are treated as objects in ordinary language anyway.

17 Embedding contd.: Another example -- Belief §“Vanessa believes that Hank is lying.”  Can’t write following in ordinary first-order logic if lying is a predicate symbol: believes(Vanessa, lying(Hank))

18 “Honorary” Object Types §fake X, alleged X, imitation X, plastic tree, toy X, model boat,... § a fake gun is not actually a gun, so it would be wrong to write something like fake (g)  is-gun(g)  if is-gun means being a real gun, and annoying to have to write  real (g)  is-gun(g)  if is-gun includes being a fake gun, and nasty to have to write  is-fake-gun(g), and similarly is-fake-tree(t), …

19 Figurative Language §Metonymy: “He was listening to Bach” §Metaphor: “The suspicion grabbed me by the back of my neck.”

20 Variety of Types of Difficulty  May need context in order to pin precise meaning down.  Precise meaning may be difficult to pin down even when context fully known.  Precise meaning may be difficult to express in logic, or to do so usefully.

21 Final Remarks § This presentation has shown just a selection of the problems of expressing the meaning of natural language utterances in logic. §There are many approaches to the problems, but no-one has a complete solution to all of them and some remain puzzling. §Feel like doing a PhD on the issues??!


Download ppt "Natural Language and Logic: Some Difficulties John Barnden Professor of Artificial Intelligence School of Computer Science"

Similar presentations


Ads by Google