Due Thursday, May 20th in class. This
homework only has two problems, each with two parts, a and b. As always, email your code to the TA and hand in
the written portions in class, by the beginning of lecture.
If you want to be concrete, we can scale these from -10 through 0, up to 10. So, someone in the picture of health would have state HEALTH(10).
For example, we could start with the English sentence, John told Mary that Bill was happy. Encoding this with the states we've defined, we have:
John MTRANS(Bill BE MENTAL.ST(5)) to Mary Another MTRANS example would be the fairly common action of reading: Sally read a Web page.
Rendered back into English, this says:
Sally MTRANS(Information) to LTM(Sally) from WebPage inst(Sally ATTEND eyes to WebPage) Sally transferred mental information to her own long-term memory from a Web page by focusing her eyes on the Web
For causality, we have the arrow symbol (
) to depict causality, and several classes of causality. We can break down the causality classes as follows:
Description Representation Actions can result in state changes ACTION r
STATE States can enable actions STATE E
ACTION States can disable actions State dE
ACTION States/acts can initiate mental states STATE (or ACTION) I
MENTAL.ST Mental states can be reasons for actions MENTAL.ST R
ACTION Suppose we have the sentence John healed Mary. In this case, we don't know what action John performed, so we use the action "placeholder" DO.
John DO E
Mary HEALTH(6) a) Given this, your job is to represent the following story in CD:
John needed money. He read the want ads. He found found the job for him, polished his resume and bought a suit. The next day at the interview, John spit twice in the face of the interviewer. The interviewer was very upset. John was not hired.
b) Can you think of an example from everyday language that can't be represented in CD? Give an example, and how you would change CD to allow for it.
(bu-parse '(Jack saw the man cry +ing))
Notice that the parser won't work with the sentence "Jack saw the man crying", because it doesn't have a morphology package loaded. Instead you have to give the base form (cry) plus the inflected ending (-ing). The parser will then recognize the progressive nature of the verb tense.
Entering constituent name48 from 0 to 1 <name ((lex jack) (agr 3s) (root jack1))> Entering constituent v51 from 1 to 2 <v ((lex is) (root be1) (vform pres) (subcat (? s3 _adjp _np)) (agr 3s))> Adding active arc: <vp ((vform pres) (agr 3s) (1 v51))> -5> (<v ((subcat _np) (vform pres) (agr 3s))>) * (<np nil>) from 1 to 2 : |