LING 388: Language and Computers Sandiway Fong Lecture 25
Last Time predarg(Predicate,Subject,Object)
g24.pl We've updated 2 of the three S rules to generate predicate-argument (PA) structures SWI Prolog predicate: arg(N,Term,Nth_argument) picks Nth argument from Term
g24.pl VP rules instantiate Predicate and Subject (in by-phrase) or Object (in active sentence) for predarg(Predicate,Subject,Object)
English grammar Update the English grammar to generate wh- questions and yes/no-questions using predarg structure Question: How should we encode questions? –predarg(Predicate,Subject,Object,decl/wh/yesno)
Japanese grammar We need to update the Japanese grammar (j23.pl) to produce predarg/4 structures too