cg3
cg3 copied to clipboard
Tools for the 3rd edition of the Constraint Grammar formalism.
Given that the Unicode dependency format was added for Apertium purposes, cg-proc should print deps in that format.
The three compile-time set operations https://visl.sdu.dk/cg3/chunked/sets.html#set-operator-difference (`\ ∆ ∩`) sometimes need to be deferred to runtime, if either side contains regexes that match the other side.
E.g. SetParent that doesn't alter the child's parent, but does add the cohort to the parent's list of children.
It can often be useful to have shadow cohorts that one can attach to/from, but can't be found by topological searches.
Print the whole current window with trace information whenever a rule fires or the window state is otherwise changed.
`//l` line matches can currently not be used in Substitute or the Before/After clauses for Add/Map.