I suspect there is a bug in the interaction between PARENTHESIS and
REMCOHORT.
Here is a minimal example. As you can see in the output, the order of the
cohorts is mixed up.
Grammar:
---
# cat test.vrt | vislcg3 --grammar bug-dis.cg3 --trace > test.dis
STRICT-TAGS += Adj Noun V Punct >AMOD ;
PARENTHESES = ("<«>" "<»>") ;
WITH NOPARENT Adj
IF (-1C Noun) {
MAP >AMOD (*) ;
SETPARENT (*) TO (jC1 (*)) ;
REMCOHORT IGNORED WITHCHILD (*) (*) ;
} ;
---
Input:
---
"<ироман>"
"а-рома́н" Noun
"<ҿыц>"
"а-ҿы́ц" Adj
"<«>"
"«" Punct
"<еизааигәахон>"
"а́изааигәахара" V
"<»>"
"»" Punct
"<азкуп>"
"а-зкзаара́" V
"<.>"
"." Punct
---
Output:
---
"<ироман>"
"а-рома́н" Noun #1->1
"<«>"
"«" Punct #2->2
"<еизааигәахон>"
"а́изааигәахара" V #3->3
"<»>"
"»" Punct #4->4
"<ҿыц>"
"а-ҿы́ц" Adj >AMOD #5->1 WITH:7 MAP:9 SETPARENT:10 REMCOHORT:11
"<азкуп>"
"а-зкзаара́" V #6->6
"<.>"
"." Punct #7->7
---
--
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 on the web visit
https://groups.google.com/d/msgid/constraint-grammar/07783336-0d66-4721-aa77-6e561bfb5da7n%40googlegroups.com.