ai-prolog9 - 1 Artificial Intelligence: Natural Language A...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 Artificial Intelligence: Natural Language A little more on grammars Semantics Pragmatics Generation 2 More on grammars Consider following examples: John likes. NOT OK John jumps. OK John jumps in the water, OK The small fluffy cat jumps. OK John like the cat. NOT OK. The cats likes John. NOT OK. The cat on the table likes John. OK 3 Better grammar Should deal with: Intransive/Transitive verbs. Former are ones that dont need following noun phrase. Prepositional phrases (e.g., in the lake). Prepostion followed by noun phrase. Series of adjectives. Recursive rule can be used.. Subject-verb agreement. Can add arguments to grammar rules/dictionary entries. sentence --> np(Num), vp(Num). np(Num) --> art, noun(Num). noun(sing) --> [cat]. 4 Semantics Syntax: Uses grammar to structure sentence. Semantics: Maps this to a structured representation that can be used in inference. (often referred to as sentence meaning) Possible representations: SQL. Map Find me all the students who are taking AI3 to relevant SQL query. Predicate Logic: Map John loves anyone who is tall onto relevant statement in predicate logic. Other structured rep: (e.g., case frame: action: loves subject: john 5 Semantics How do we get from the parsed sentence to this kind of representation?...
View Full Document

This note was uploaded on 01/20/2011 for the course CS 6810 taught by Professor Hecker during the Spring '10 term at CSU East Bay.

Page1 / 15

ai-prolog9 - 1 Artificial Intelligence: Natural Language A...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online