Artificial
Intelligence

Fall 2007
course
navigation

dec 3

homework

(1,2) - (3) - (4,5) 2nd order Markov : P(4|3,1) can be, say 1, i.e. 1 - 3 - 4 P(5|3,2) can be, say 1, i.e. 2 - 3 - 5 so that transition prob depends on previous two states and what comes after 3 depends on 1 or 2. (1) - (13) - (4) (2) - (23) - (5) 1st order Markov : modify original to two different "3" states ... which has the same effect.

parsing

Concept/questions for class discussion:
What is the "left" and "right" they're talking about in LR vs LL descriptions? What is a "leftmost derivation" as opposed to a "rightmost derivation"? (see "derivations and syntax trees" discussion in wikipedia's "context free grammar") Which is easier, "generation" or "parsing" and what are they? 22.8 in class : context-free grammar for a**n b**n ? context-free for palindromes ? context-sensitive for duplicates? And how would you parse these ? (see /private/22-8.jpg)
How do we attach "meaning" to parse tree once we have it?

START and text retrieval

"Show the military expenditures of the 2 most populous countries in OPEC."

probabilistic language methods (chap 23)

Another approach; use conditional probabilities of n-word strings in huge document collections to
http://cs.marlboro.edu/ courses/ fall2007/ai/ lecture_notes/ dec_3
last modified Monday December 3 2007 12:57 pm EST