| 1 |
DELIMITERS = "<$.>" ; |
| 2 |
|
| 3 |
# Move whole dep group where (second) is head except the child (first), to after the dep group where (ninth) is head |
| 4 |
MOVE WITHCHILD (*) - (first) (second) AFTER WITHCHILD (*) (0* (ninth)) ; |
| 5 |
|
| 6 |
# Move whole dep group where (ninth) is head to after cohort matching (third) |
| 7 |
MOVE WITHCHILD (*) (ninth) BEFORE (0* (third)) ; |
| 8 |
|
| 9 |
# Move from right to left |
| 10 |
MOVE (third) BEFORE (0* (tenth)) ; |
| 11 |
|
| 12 |
# Move from right to left |
| 13 |
MOVE (ninth) BEFORE (0* (second)) ; |
| 14 |
|
| 15 |
# Move from right to left |
| 16 |
MOVE (second) BEFORE (0* (fourth)) ; |
| 17 |
|
| 18 |
# Move to absolute position; here the start of the window |
| 19 |
MOVE (third) AFTER (@0 (*)) ; |
| 20 |
|
| 21 |
# Move from left to right; here the end of the window |
| 22 |
MOVE (second) AFTER (*1 (<<<)) ; |
| 23 |
|
| 24 |
# Move from right to left |
| 25 |
MOVE (seventh) AFTER (-1* (first)) ; |
| 26 |
|
| 27 |
# Switch |
| 28 |
SWITCH (fourth) WITH (*1 (eighth)) ; |
| 29 |
|
| 30 |
MOVE REPEAT ("target") AFTER (1* ("anchor") BARRIER ("target")) ; |