Hi,

I am trying to do several attachments in a WITH block.

In the sentence

        A B C

I want to get

C -> A
B -> C

I try this rule set:

WITH ("C")
  IF (-2 ("A"))
     (-1 ("B"))
     (NOT p (*)) {
   SETPARENT (*) TO (jC1 (*)) ;
   SETPARENT _C2_ TO (0 (*)) ;
} ;

but it does only do the first attachment C -> A.

Is there something wrong with my syntax; can this be done at all?

I tried a variant:

WITH ("C")
  IF (-2 ("A"))
     (-1 ("B"))
     (NOT p (*)) {
   SETPARENT (*) TO (jC1 (*)) ;
   SETPARENT _C2_ TO (jC1 (*)) ;
} ;

This does work and gives me C -> A, C -> B. (This is however not what I need.)

- Paul Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"Constraint Grammar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/constraint-grammar/2E8A2888-CF60-4C77-BEDB-667F69654C5E%40uib.no.

Reply via email to