Révisions

  1. class clitics
  2. {
  3. <: clneg;
  4. %% advneg (pas, point, non, ..) before verb
  5. %% example: ne pas fumer
  6. node advneg:[cat: advneg, id:advneg, type:coanchor];
  7. advneg =>
  8. node(S).bot.neg = value(+),
  9. node(Infl).top.mode = value(infinitive|participle|adjective);
  10. V1 >> advneg;
  11. clneg < advneg;
  12. node proobj: [cat: pro, id:object, type:coanchor, lex: rien|tout];
  13. V1 >> proobj;
  14. advneg < proobj;
  15. node(proobj).dummy.argobj = value([ extracted: -,
  16. kind: obj|acomp,
  17. pcas: -,
  18. real: antepro ]);
  19. proobj =>
  20. node(v).cat = value(v),
  21. node(Infl).top.mode = value(infinitive),
  22. desc.dummy.proobj.position = value('before_clitics');
  23. ~ proobj =>
  24. desc.dummy.proobj.position = value(-|'before_v');
  25. v +
  26. desc.dummy.proobj.position = value('before_clitics'|'before_v'),
  27. (
  28. desc.ht.arg0 = node(proobj).dummy.argobj
  29. |
  30. desc.ht.arg1 = node(proobj).dummy.argobj
  31. |
  32. desc.ht.arg1 = node(proobj).dummy.argobj
  33. )
  34. |
  35. desc.dummy.proobj.position = value(-),
  36. desc.dummy.proobj.position = value(-),
  37. desc.ht.arg0.real = value(~antepro),
  38. desc.ht.arg1.real = value(~antepro),
  39. desc.ht.arg2.real = value(~antepro)
  40. ;
  41. node clr:[cat:clr, id:clr, type:coanchor,adj:no];
  42. node(clr).top.number = node(V1).bot.number;
  43. node(clr).top.person = node(V1).bot.person;
  44. node(clr).dummy.argobj = value([kind: obj, pcas: -, real: clr]);
  45. node(clr).dummy.argprepobj = value([kind: prepobj, pcas: à|avec, real: clr, function: objà]);
  46. clr =>
  47. desc.dummy.clr = value(+),
  48. node(Infl).top.mode = value(~imperative),
  49. node(Infl).bot.aux_req = value(être),
  50. node(ante::clseq).excl = value(-|ante)
  51. ;
  52. ~ clr =>
  53. desc.dummy.clr = value(-),
  54. desc.ht.arg1.real = value(~clr),
  55. desc.ht.arg2.real = value(~clr),
  56. ( desc.ht.refl = value(-),
  57. node(Infl).bot.aux_req = node(v).top.aux_req
  58. |
  59. %% reflexive verbs may be used with imperative mode
  60. %% example: souviens-toi !
  61. desc.ht.refl = value(+),
  62. node(Infl).top.mode = value(imperative)
  63. )
  64. ;
  65. v +
  66. desc.dummy.clr = value(-),
  67. desc.ht.arg1.real = value(~clr),
  68. desc.ht.arg2.real = value(~clr)
  69. |
  70. desc.dummy.clr = value(+),
  71. ( desc.ht.refl = value(+),
  72. desc.ht.arg1.real = value(~clr),
  73. desc.ht.arg2.real = value(~clr)
  74. |
  75. desc.ht.refl = value(-),
  76. (
  77. desc.ht.arg2.real = value(~clr),
  78. ( desc.ht.arg1 = node(clr).dummy.argobj
  79. |
  80. desc.ht.arg1 = node(clr).dummy.argprepobj
  81. )
  82. |
  83. desc.ht.arg1.real = value(~clr),
  84. ( desc.ht.arg2 = node(clr).dummy.argobj
  85. |
  86. desc.ht.arg2 = node(clr).dummy.argprepobj
  87. )
  88. |
  89. %% a clr may be attached to an object
  90. %% example: il se coupe la main
  91. %% see also the case with cld and object
  92. desc.ht.arg2.real = value(~clr),
  93. desc.ht.arg1 = value([kind:obj,pcas: -, real: ~cld12|cld3])
  94. )
  95. )
  96. ;
  97. proobj < clr;
  98. V1 >> clr;
  99. clr < ante::clseq;
  100. %% Clitics before verbs
  101. - ante::clitic_sequence;
  102. ante::clseq < Infl;
  103. V1 >> ante::clseq;
  104. ante::clseq =>
  105. node(ante::clseq).excl = value(ante);
  106. %% no ante or post clitics for participials
  107. %% => ensure that no realization of verb args as clitics
  108. ~ ante::clseq =>
  109. node(ante::clseq).excl = value(-|post);
  110. %% post verbal clitics: only for positive imperative sentence
  111. %% example: donne le lui
  112. - post::clitic_sequence;
  113. Infl < post::clseq;
  114. V1 >> post::clseq;
  115. post::clseq =>
  116. node(Infl).bot.mode = value(~adjective|participle),
  117. node(post::clseq).excl = value(post);
  118. ~ post::clseq =>
  119. node(post::clseq).excl = value(-|ante);
  120. node(ante::clseq).excl = node(post::clseq).excl;
  121. v +
  122. node(ante::clseq).excl = value(ante),
  123. (
  124. node(Infl).top.mode = value(~imperative|participle)
  125. |
  126. node(Infl).top.mode = value(imperative),
  127. ( node(S).bot.neg = value(+)
  128. | node(Anchor).lex = value(voici|voilà|revoici|revoilà)
  129. )
  130. )
  131. |
  132. node(v).cat = value(v),
  133. node(ante::clseq).excl = value(post),
  134. node(Infl).top.mode = value(imperative),
  135. node(S).bot.neg = value(-)
  136. |
  137. node(ante::clseq).excl = value(-),
  138. %% node(Infl).top.mode = value(participle),
  139. desc.ht.arg0.real = value(~cla|cld12|cld3|clg),
  140. desc.ht.arg1.real = value(~cla|cld12|cld3|clg),
  141. desc.ht.arg2.real = value(~cla|cld12|cld3|clg)
  142. ;
  143. %% To avoid the duplication of the conditions bewteen ante and post
  144. %% condtions attached to cla
  145. v +
  146. desc.@cla.arg.real = value(-)
  147. |
  148. node(ante::clseq).excl = value(~-),
  149. (
  150. desc.@cla.arg.real = value(cla),
  151. (
  152. desc.ht.arg0 = desc.@cla.arg
  153. |
  154. desc.ht.arg1 = desc.@cla.arg
  155. |
  156. desc.ht.arg2 = desc.@cla.arg
  157. )
  158. |
  159. desc.@cla.arg.real = value(clr),
  160. desc.ht.refl = value(+),
  161. node(Infl).top.mode = value(imperative)
  162. )
  163. ;
  164. v +
  165. desc.@cla.arg.real = value(-),
  166. desc.ht.arg0.real = value(~cla),
  167. desc.ht.arg1.real = value(~cla),
  168. desc.ht.arg2.real = value(~cla)
  169. |
  170. node(ante::clseq).excl = value(~-),
  171. ( desc.@cla.arg.real = value(cla),
  172. (
  173. desc.@cla.arg.kind = value(obj),
  174. desc.dummy.objinfo = desc.dummy.cla.objinfo
  175. |
  176. desc.@cla.arg.kind = value(acomp),
  177. desc.@cla.objinfo.number = value(sg),
  178. desc.@cla.objinfo.gender = value(masc),
  179. desc.@cla.objinfo.person = value(3)
  180. )
  181. |
  182. desc.@cla.arg.real = value(clr)
  183. )
  184. ;
  185. %% Conditions attached to cld (cld12 or cld3)
  186. %% a cld may be attached to an adjective:
  187. %% example: il leurs est facile de venir
  188. %% example: ces ressources leurs sont propres
  189. %% we have a hack here because we don't really have the right dependency
  190. %% it should be improved by a better handling of adjectives
  191. %% a cld may be attached to an object
  192. %% example: il lui serre la main
  193. %% example: la courtoisie que nous lui connaissons
  194. %% similar remarks than we have for adjectives
  195. v +
  196. desc.@cld.arg.real = value(-),
  197. desc.ht.arg0.real = value(~cld12|cld3),
  198. desc.ht.arg1.real = value(~cld12|cld3),
  199. desc.ht.arg2.real = value(~cld12|cld3)
  200. |
  201. node(ante::clseq).excl = value(~-),
  202. desc.@cld.arg.real = value(~-),
  203. (
  204. desc.ht.arg0 = desc.@cld.arg,
  205. desc.ht.arg1.real = value(~cld12|cld3),
  206. desc.ht.arg2.real = value(~cld12|cld3)
  207. |
  208. desc.ht.arg1 = desc.@cld.arg,
  209. desc.ht.arg0.real = value(~cld12|cld3),
  210. desc.ht.arg2.real = value(~cld12|cld3)
  211. |
  212. desc.ht.arg2 = desc.@cld.arg,
  213. desc.ht.arg0.real = value(~cld12|cld3),
  214. desc.ht.arg1.real = value(~cld12|cld3)
  215. |
  216. node(v).cat=value(adj) % should check the subcat of adj !
  217. |
  218. node(v).cat=value(v),
  219. desc.dummy.cld.person = value(~ -),
  220. (
  221. desc.ht.arg1 = value([kind:acomp|obj,pcas: -, real: ~cld12|cld3])
  222. |
  223. % example: ses habits lui sont enlevés
  224. % passive counterpart for: on lui enlève ses habits
  225. desc.ht.diathesis = value(passive),
  226. desc.ht.arg0 = value([kind:-])
  227. ),
  228. desc.ht.arg1.subarg = desc.@cld.arg,
  229. desc.ht.arg2 = value([kind:-])
  230. )
  231. ;
  232. %% Conditions attached to clg
  233. v +
  234. desc.@clg.arg.real = value(-),
  235. desc.ht.arg1.real = value(~clg),
  236. desc.ht.arg2.real = value(~clg)
  237. |
  238. node(ante::clseq).excl = value(~-),
  239. desc.@clg.arg.real = value(~ -|cla),
  240. (
  241. desc.ht.arg1 = desc.@clg.arg,
  242. desc.ht.arg2.real = value(~clg)
  243. |
  244. desc.ht.arg2 = desc.@clg.arg,
  245. desc.ht.arg1.real = value(~clg)
  246. )
  247. ;
  248. %% Conditions attached to cll
  249. v +
  250. % a non argument cll seems to be only 'y' ('en' needs to fill an argument)
  251. % but there exists a few verbs that allow a @pseudo-en (découdre,
  252. % finir, référer)
  253. % desc.@cll.lex = value(-|y|'-y'),
  254. desc.ht.arg1.real = value(~cll),
  255. desc.ht.arg2.real = value(~cll)
  256. |
  257. node(ante::clseq).excl = value(~-),
  258. desc.@cll.arg.real = value(cll),
  259. (
  260. desc.ht.arg1 = desc.@cll.arg,
  261. desc.ht.arg2.real = value(~cll)
  262. |
  263. desc.ht.arg2 = desc.@cll.arg,
  264. desc.ht.arg1.real = value(~cll)
  265. ),
  266. ( desc.@cll.lex = value(y|'-y'),
  267. desc.@cll.arg.function=value(loc|obl|obl2)
  268. |
  269. desc.@cll.lex = value(y|'-y'),
  270. desc.@cll.arg.function=value(dloc)
  271. )
  272. ;
  273. }

Ajouter un commentaire

Connectez-vous ou inscrivez-vous pour publier un commentaire

Class Graph View