Michi Amsler
2017-03-02 17:06:29 UTC
Hi there!
Today I had to reimplement some of my grammars and I wondered if there was
a more elegant way to do it.
So my question is:
- I want to formulate constraints which check for given the verb-frames
(i.e. restrictions on what may be dependent to the verb)
--> there are some children that must be there (on the c axis) ~ required
--> there are some tags that must not be there (also on the c axis) ~
prohibitive
--> there are maybe some other children but I don't care about them (this
is important because it prevents the solutions based on "ALL c X")
(this last group should be left open)
can I pack these constraints into a TEMPLATE? as far as I found out, I can
combine contexts in template with OR but I cannot combine context in a
TEMPLATE with "AND" - or am I mistaken?
(I know that I can LINK them using cx to backrefer to the verb each time or
taking the cumbercome route of something like "LINK c DEP_OBJA LINK p (*)
LINK DEP_OBJD" and so on, i.e. always jumping back to the parent to define
multiple instances of requirement/prohibitive at once in a template) ...
but this version is not suitable in combination with "NONE c DEP_X"
approaches (because - and of course very logically - it makes not very much
sense to LINK p (*) (to go back to the verb) from a "NONE c" context ).
I tried several versions but but with none of them I could reach what I
wanted: defining a template based on dependencies with some requirements
that must be met, some prohibitives which must not be present while leaving
open the occurrence of some other tags (open third group)
Any help appreciated,
thanks
Michi
Today I had to reimplement some of my grammars and I wondered if there was
a more elegant way to do it.
So my question is:
- I want to formulate constraints which check for given the verb-frames
(i.e. restrictions on what may be dependent to the verb)
--> there are some children that must be there (on the c axis) ~ required
--> there are some tags that must not be there (also on the c axis) ~
prohibitive
--> there are maybe some other children but I don't care about them (this
is important because it prevents the solutions based on "ALL c X")
(this last group should be left open)
can I pack these constraints into a TEMPLATE? as far as I found out, I can
combine contexts in template with OR but I cannot combine context in a
TEMPLATE with "AND" - or am I mistaken?
(I know that I can LINK them using cx to backrefer to the verb each time or
taking the cumbercome route of something like "LINK c DEP_OBJA LINK p (*)
LINK DEP_OBJD" and so on, i.e. always jumping back to the parent to define
multiple instances of requirement/prohibitive at once in a template) ...
but this version is not suitable in combination with "NONE c DEP_X"
approaches (because - and of course very logically - it makes not very much
sense to LINK p (*) (to go back to the verb) from a "NONE c" context ).
I tried several versions but but with none of them I could reach what I
wanted: defining a template based on dependencies with some requirements
that must be met, some prohibitives which must not be present while leaving
open the occurrence of some other tags (open third group)
Any help appreciated,
thanks
Michi
--
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 constraint-grammar+***@googlegroups.com.
To post to this group, send email to constraint-***@googlegroups.com.
Visit this group at https://groups.google.com/group/constraint-grammar.
For more options, visit https://groups.google.com/d/optout.
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 constraint-grammar+***@googlegroups.com.
To post to this group, send email to constraint-***@googlegroups.com.
Visit this group at https://groups.google.com/group/constraint-grammar.
For more options, visit https://groups.google.com/d/optout.