real_arg_by_adj

  1. {
  2. $arg.extracted = value(-);
  3. %% class used to implement arg as adjunction
  4. %% when possible, i.e. when no other adjunction
  5. node(SArg).type=value(foot);
  6. %% No extraction on current sentence args
  7. %% (no multiple extraction in French: one from current sentence, one from
  8. %% embedded sentence )
  9. %% No extraction on current sentence
  10. %% but extraction on embedded sentence
  11. %% example: que propose-t-il de manger ?
  12. node(SArg).top.extraction = value(~-);
  13. desc.extraction = value(adjx);
  14. %% Force foot node to be the last one among brothers
  15. node(VModArg).rank = value(last);
  16. node(VModArg).adj = value(no);
  17. node(S).bot.sat = node(SArg).top.sat;
  18. }

Ajouter un commentaire

Connectez-vous ou inscrivez-vous pour publier un commentaire

Class Graph View