{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

View Full Document Right Arrow Icon
1 Artificial Intelligence: Natural Language A little more on grammars Semantics Pragmatics Generation
Image of page 1

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

View Full Document Right Arrow Icon
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
Image of page 2
3 Better grammar Should deal with: Intransive/Transitive verbs. Former are ones that don’t 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].
Image of page 3

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

View Full Document Right Arrow Icon
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 object: mary
Image of page 4
5 Semantics How do we get from the parsed sentence to this kind of representation?
Image of page 5

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

View Full Document Right Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern