Debian Codegraph @

test/T_RemCohort/grammar.cg3

raw
1 DELIMITERS = "<$.>" ;
2 PARENTHESES = ("(" ")") ;
3
4 OPTIONS += addcohort-attach ;
5
6 ADD (@last-old) (<<<) ;
7 REMCOHORT (<<<) ;
8 ADD (@last-after-rem) (<<<) ;
9 ADDCOHORT ("<new last>" "new last" new last cohort) AFTER (<<<) - (new) ;
10 ADD (@last-after-add) (<<<) ;
11
12 SECTION
13
14 ADDCOHORT ("<wordform1>" "baseform1" tag1) BEFORE ("matchme") ;
15 ADDCOHORT ("<wordform2>" "baseform2" tag2) AFTER ("matchme") ;
16 ADDCOHORT ("<wordform3>" "baseform3" tag3 "baseform4" tag4 "baseform5") BEFORE ("matchme") ;
17
18 ADDCOHORT ("<wordform4>" "baseform4" tag4) BEFORE WITHCHILD (*) ("matchme") ;
19 ADDCOHORT ("<wordform5>" "baseform5" tag5) AFTER WITHCHILD (*) ("matchme") ;
20
21 REMCOHORT ("matchme") ;
22 ADD (@stillhere) (*) ;