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(V1).top.neg = value(+),
  129. node(V1).bot.neg = value(-)
  130. | node(Anchor).lex = value(voici|voilà|revoici|revoilà)
  131. )
  132. )
  133. |
  134. node(v).cat = value(v),
  135. node(ante::clseq).excl = value(post),
  136. node(Infl).top.mode = value(imperative),
  137. node(S).bot.neg = value(-)
  138. |
  139. node(ante::clseq).excl = value(-),
  140. %% node(Infl).top.mode = value(participle),
  141. desc.ht.arg0.real = value(~cla|cld12|cld3|clg),
  142. desc.ht.arg1.real = value(~cla|cld12|cld3|clg),
  143. desc.ht.arg2.real = value(~cla|cld12|cld3|clg)
  144. ;
  145. %% To avoid the duplication of the conditions bewteen ante and post
  146. %% condtions attached to cla
  147. v +
  148. desc.@cla.arg.real = value(-)
  149. |
  150. node(ante::clseq).excl = value(~-),
  151. (
  152. desc.@cla.arg.real = value(cla),
  153. (
  154. desc.ht.arg0 = desc.@cla.arg
  155. |
  156. desc.ht.arg1 = desc.@cla.arg
  157. |
  158. desc.ht.arg2 = desc.@cla.arg
  159. )
  160. |
  161. desc.@cla.arg.real = value(clr),
  162. desc.ht.refl = value(+),
  163. node(Infl).top.mode = value(imperative)
  164. )
  165. ;
  166. v +
  167. desc.@cla.arg.real = value(-),
  168. desc.ht.arg0.real = value(~cla),
  169. desc.ht.arg1.real = value(~cla),
  170. desc.ht.arg2.real = value(~cla)
  171. |
  172. node(ante::clseq).excl = value(~-),
  173. ( desc.@cla.arg.real = value(cla),
  174. (
  175. desc.@cla.arg.kind = value(obj),
  176. desc.dummy.objinfo = desc.dummy.cla.objinfo
  177. |
  178. desc.@cla.arg.kind = value(acomp),
  179. desc.@cla.objinfo.number = value(sg),
  180. desc.@cla.objinfo.gender = value(masc),
  181. desc.@cla.objinfo.person = value(3)
  182. )
  183. |
  184. desc.@cla.arg.real = value(clr)
  185. )
  186. ;
  187. %% Conditions attached to cld (cld12 or cld3)
  188. %% a cld may be attached to an adjective:
  189. %% example: il leurs est facile de venir
  190. %% example: ces ressources leurs sont propres
  191. %% we have a hack here because we don't really have the right dependency
  192. %% it should be improved by a better handling of adjectives
  193. %% a cld may be attached to an object
  194. %% example: il lui serre la main
  195. %% example: la courtoisie que nous lui connaissons
  196. %% similar remarks than we have for adjectives
  197. v +
  198. desc.@cld.arg.real = value(-),
  199. desc.ht.arg0.real = value(~cld12|cld3),
  200. desc.ht.arg1.real = value(~cld12|cld3),
  201. desc.ht.arg2.real = value(~cld12|cld3)
  202. |
  203. node(ante::clseq).excl = value(~-),
  204. desc.@cld.arg.real = value(~-),
  205. (
  206. desc.ht.arg0 = desc.@cld.arg,
  207. desc.ht.arg1.real = value(~cld12|cld3),
  208. desc.ht.arg2.real = value(~cld12|cld3)
  209. |
  210. desc.ht.arg1 = desc.@cld.arg,
  211. desc.ht.arg0.real = value(~cld12|cld3),
  212. desc.ht.arg2.real = value(~cld12|cld3)
  213. |
  214. desc.ht.arg2 = desc.@cld.arg,
  215. desc.ht.arg0.real = value(~cld12|cld3),
  216. desc.ht.arg1.real = value(~cld12|cld3)
  217. |
  218. node(v).cat=value(adj) % should check the subcat of adj !
  219. |
  220. node(v).cat=value(v),
  221. desc.dummy.cld.person = value(~ -),
  222. (
  223. desc.ht.arg1 = value([kind:acomp|obj,pcas: -, real: ~cld12|cld3])
  224. |
  225. % example: ses habits lui sont enlevés
  226. % passive counterpart for: on lui enlève ses habits
  227. desc.ht.diathesis = value(passive),
  228. desc.ht.arg0 = value([kind:-])
  229. ),
  230. desc.ht.arg1.subarg = desc.@cld.arg,
  231. desc.ht.arg2 = value([kind:-])
  232. )
  233. ;
  234. %% Conditions attached to clg
  235. v +
  236. desc.@clg.arg.real = value(-),
  237. desc.ht.arg1.real = value(~clg),
  238. desc.ht.arg2.real = value(~clg)
  239. |
  240. node(ante::clseq).excl = value(~-),
  241. desc.@clg.arg.real = value(~ -|cla),
  242. (
  243. desc.ht.arg1 = desc.@clg.arg,
  244. desc.ht.arg2.real = value(~clg)
  245. |
  246. desc.ht.arg2 = desc.@clg.arg,
  247. desc.ht.arg1.real = value(~clg)
  248. )
  249. ;
  250. %% Conditions attached to cll
  251. v +
  252. % a non argument cll seems to be only 'y' ('en' needs to fill an argument)
  253. % but there exists a few verbs that allow a @pseudo-en (découdre,
  254. % finir, référer)
  255. % desc.@cll.lex = value(-|y|'-y'),
  256. desc.ht.arg1.real = value(~cll),
  257. desc.ht.arg2.real = value(~cll)
  258. |
  259. node(ante::clseq).excl = value(~-),
  260. desc.@cll.arg.real = value(cll),
  261. (
  262. desc.ht.arg1 = desc.@cll.arg,
  263. desc.ht.arg2.real = value(~cll)
  264. |
  265. desc.ht.arg2 = desc.@cll.arg,
  266. desc.ht.arg1.real = value(~cll)
  267. ),
  268. ( desc.@cll.lex = value(y|'-y'),
  269. desc.@cll.arg.function=value(loc|obl|obl2)
  270. |
  271. desc.@cll.lex = value(y|'-y'),
  272. desc.@cll.arg.function=value(dloc)
  273. )
  274. ;
  275. }

Ajouter un commentaire

Connectez-vous ou inscrivez-vous pour publier un commentaire

Class Graph View