s : Case => {c1,c2,comp,ton : Str}). I do not understand why NP should have pronoun forms inside? Unless I missed something, it's the PossNP, which needs it, but why complicating everything else? If the case is forming "my car" vs "car of mine", there could be some other category for that? (also in Russian it is possible to omit the noun altogether, for example, one can speak: "my did this' (usually about husband). Are there any pointers to the theory of current possessive pronoun / NP handling?
--
---
You received this message because you are subscribed to the Google Groups "Grammatical Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gf-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gf-dev/f0a41e4f-e58c-4722-8a4d-c3fd6c335930o%40googlegroups.com.
Hi Roman,1. As for the NPs with pronoun forms, a NP can come from a Pron in UsePron : Pron -> NP. My guess for why a NP would have a separate pronoun forms is that NPs don't inflect and only pronouns do, but hard to say without examples. But if the NP includes both pronoun forms and a regular case inflection with the same cases, that does raise suspicions of redundancy. Maybe the grammar was different at one point (applies for the oldest RGL modules), or the grammarian simply thought of a better way to implement things, and didn't bother to restructure. You could start without separatepronoun forms and see how far you get, and if it turns out you do need them as a separate table from the normal case inflection of NP, then you can add them.
It's useful to look at other languages, but also to remember that different languages need different distinctions. For instance, in Hungarian grammar, all NPs include all possessed forms (the NP of "a car" includes "my car", "your car", …) because of have_V2. The correct way to say "I have a car" is "to me is my car". That's why the form "my car" (which is in reality formed with possessive suffix, which causes stem changes, so not possible to just BIND it on afterwards) remains in NPs, and not just CNs.As for why the Romance NPs are so complex, it's because of pronominal objects: "veo un gato" vs. "lo veo", and probably bunch of other stuff that happens only in French. :-P2. If the language can say both "X not do this" and "X do not this", and they mean a different thing, then those should be different abstract syntax trees. The former is a sentence negation, the latter has the object NP negated, like [not this]:NP.If there are differences in the position for the same type of negation, you can add a parameter like NegPosition in Dutch https://github.com/GrammaticalFramework/gf-rgl/blob/master/src/dutch/ResDut.gf#L534-L547 for three patterns of sentence negation: "ik schoop X niet (normal verb) ; ik houd niet van X (object introduced with a preposition); dat is niet leuk (predicative adjective)".
Some of the more advanced negations are in Extend module, e.g. https://github.com/GrammaticalFramework/gf-rgl/blob/master/src/abstract/Extend.gf#L125-L127 for "there is no tree" as a negation of "there is a tree", instead of standard RGL existential negation "there isn't a tree". I agree that more of these patterns would be helpful for application grammarians. Feel free to contribute to Extend, that's a rather new resource and doesn't have the baggage of having to be kept backwards compatible.
Inari
To unsubscribe from this group and stop receiving emails from it, send an email to gf-...@googlegroups.com.
NP = {
s : Case => Str ;
poss : PronTable ;
a : Agr
} ;
PronTable = GenNum => Animacy => Case => Str ;
Hi Roman,1. As for the NPs with pronoun forms, a NP can come from a Pron in UsePron : Pron -> NP. My guess for why a NP would have a separate pronoun forms is that NPs don't inflect and only pronouns do, but hard to say without examples. But if the NP includes both pronoun forms and a regular case inflection with the same cases, that does raise suspicions of redundancy. Maybe the grammar was different at one point (applies for the oldest RGL modules), or the grammarian simply thought of a better way to implement things, and didn't bother to restructure. You could start without separatepronoun forms and see how far you get, and if it turns out you do need them as a separate table from the normal case inflection of NP, then you can add them.It's useful to look at other languages, but also to remember that different languages need different distinctions. For instance, in Hungarian grammar, all NPs include all possessed forms (the NP of "a car" includes "my car", "your car", …) because of have_V2. The correct way to say "I have a car" is "to me is my car". That's why the form "my car" (which is in reality formed with possessive suffix, which causes stem changes, so not possible to just BIND it on afterwards) remains in NPs, and not just CNs.As for why the Romance NPs are so complex, it's because of pronominal objects: "veo un gato" vs. "lo veo", and probably bunch of other stuff that happens only in French. :-P2. If the language can say both "X not do this" and "X do not this", and they mean a different thing, then those should be different abstract syntax trees. The former is a sentence negation, the latter has the object NP negated, like [not this]:NP.If there are differences in the position for the same type of negation, you can add a parameter like NegPosition in Dutch https://github.com/GrammaticalFramework/gf-rgl/blob/master/src/dutch/ResDut.gf#L534-L547 for three patterns of sentence negation: "ik schoop X niet (normal verb) ; ik houd niet van X (object introduced with a preposition); dat is niet leuk (predicative adjective)".Some of the more advanced negations are in Extend module, e.g. https://github.com/GrammaticalFramework/gf-rgl/blob/master/src/abstract/Extend.gf#L125-L127 for "there is no tree" as a negation of "there is a tree", instead of standard RGL existential negation "there isn't a tree". I agree that more of these patterns would be helpful for application grammarians. Feel free to contribute to Extend, that's a rather new resource and doesn't have the baggage of having to be kept backwards compatible.Inari
To unsubscribe from this group and stop receiving emails from it, send an email to gf-...@googlegroups.com.