Download presentation
Presentation is loading. Please wait.
Published byAudra Jacobs Modified over 9 years ago
1
LING 388: Language and Computers Sandiway Fong Lecture 25
2
Last Time predarg(Predicate,Subject,Object)
3
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
4
g24.pl VP rules instantiate Predicate and Subject (in by-phrase) or Object (in active sentence) for predarg(Predicate,Subject,Object)
5
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)
6
Japanese grammar We need to update the Japanese grammar (j23.pl) to produce predarg/4 structures too
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.