;============================================================================================ ;FRA-UNL TRANSFORMATION GRAMMAR FOR THE CORPUS UC-A1 ;Documentation available at http://www.unlweb.net/wiki/French_grammar ;This grammar must be used with the NL-UNL Default Transformation Grammar (available at http://www.unlweb.net/wiki/Default_grammar) ;============================================================================================ ;============================================================================================ ;============================================================================================ ;1. FRENCH MORPHOLOGY ;============================================================================================ ;============================================================================================ ;============================================================================================ ;1.1 NOUNS ;============================================================================================ ;Number (N,PLR,^@pl,^@multal,^@paucal,^@all):=(+att=@pl); livres > livre.@pl ;============================================================================================ ;============================================================================================ ;1.2 VERBS ;============================================================================================ ;Tense and aspect (AUX,PRS,%x)(PTP,%y):=(%y,+att=@past,+att=%x); (AUX,PAS,%x)(PTP,%y):=(%y,+att=@past,+att=@perfect,+att=%x); (V,^AUX,PRS,^@present):=(+att=@present); (V,^AUX,PAS,^@past):=(+att=@past); (V,^AUX,FUT,^@future):=(+att=@future); ;Modality (MOV,%x)(V,%y):=(%y,+att=%x); must.@obligation kill > kill.@obligation ;Negation ({[ne]|[n']})({V|I},%x)([pas]):=(+att=@not,%x); ;Reflexivity and reciprocity (FPR)(VB,%x):=(%x,+att=@reflexive); ;============================================================================================ ;============================================================================================ ;2. FRENCH SYNTAX ;============================================================================================ ;============================================================================================ ;============================================================================================ ;2.1 NP (Noun Phrase) ;============================================================================================ ;Possessive determiners (POD) (POD,%x)(NB,%y)({^N|PUT|STAIL|CTAIL},%right):=(NB(%y;%x,+adjt,+pos),+LEX=N,+XB=NB,%new)(%right); ;Determiners (D) (D,att,%x)(NB,%y)({^N|PUT|STAIL|CTAIL},%right):=(%y,+att=%x)(%right); ;============================================================================================ ;============================================================================================ ;2.2 JP (Adjective Phrase) ;============================================================================================ ;Intensifiers (SAV) (SAV,att,%x)({AB|JB|DB},%y):=(%y,+att=%x); (SAV,^att,%x)({AB|JB|DB},%y):=(XB(%y;%x,+spec,+man),+LEX=%y,+XB=%y); ;============================================================================================ ;============================================================================================ ;2.3 PP (Prepositional Phrase) ;============================================================================================ (P,^PP,%x)(XP,^DP,^PP,%y)({XP|PUT|STAIL|CTAIL},%z):=(%y,-LEX,-XP,+LEX=P,+XP=PP,+adjt,+rel=%x,+att=%x)(%z); ;============================================================================================ ;============================================================================================ ;2.5 VP (Verbal Phrase) ;=========================================================================================== ;============================================================================================ ;2.6 CP (Complementizer Phrase) ;=========================================================================================== ;Conjunctions ;Coordination (XP,%x)(COMMA,%c)(XP=%x,rel=and,%y):=(%x)([et],+W,%a)(%y); (XP,%x)(COMMA,%c)(XP=%x,rel=or,%y):=(%x)([ou],+W,%a)(%y); (XP,%x)([et])(XP=%x,%y):=(and(%y;%x),+LEX=%x,+XP=%x,+rel=and,%xy); (XP,%x)([ou])(XP=%x,%y):=(or(%y;%x),+LEX=%x,+XP=%x,+rel=or,%xy); ;============================================================================================ ;2.5 Other rules ;=========================================================================================== ;Punctuation (VP,%x)(QMARK):=(%x,att=@interrogative);