Presentation is loading. Please wait.

Presentation is loading. Please wait.

LING 388: Language and Computers Sandiway Fong Lecture 25.

Similar presentations


Presentation on theme: "LING 388: Language and Computers Sandiway Fong Lecture 25."— Presentation transcript:

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


Download ppt "LING 388: Language and Computers Sandiway Fong Lecture 25."

Similar presentations


Ads by Google