For the homework: Use the "member" function we learned in class using equal instead of eq.
The ATM on page 217 cannot parse the sentence, "The deer ran."
Example 1
"The deer ate the apple."
a → b: Subject = The deer
b → c: Main-verb = ate
c → d: Direct object = the apple
Example 2
"The apple was eaten by the deer."
Trace:
a → b: (1) Subject = The apple
b → c: (2) Main-verb = was
c → d: (4) Voice = passive. Auxiliaries = was. Main-verb = eat. Direct Object = The apple. Subject = dummy
d → d: (7) Subject = the deer
There are two separate parses of this sentence. One implies that the apple was eaten in close proximity to the deer. The other (more likely) interpretation is that the deer ate the apple.
Example 3
"The teacher gave the children a book."
a → b: (1) Subject = the teacher
b → c: (2) Main-verb = gave
c → d: (5) DO = the children
d → ?
This ATM on page 217 does not parse this sentence. "The children" will be the indirect object and "the book" will be the direct object.
Now, using the ATM on 224:
a → b: (1) Subject = the teacher
b → c: (2) Main-verb = gave
c → d: (5) DO = the children
d → e: (6) IO = the children, DO = a book
The ATM on 224 does not, however, parse, "The teacher wanted to read the book."

Comments