Agreement

In some cases, both the head and dependent require to share the same values for some of their features. For instance, in Romance languages, the adjective must agree with the noun in both gender and number. Once more, we can represent agreement in different ways. To allow analysing expressions such as “coche rojo” or “coches rojos”, and not incorrect ones like “*coche roja” or “*coches rojo”, we can make use of a very encumbered representation with 4 rules:

AdjunctLeft : ADJ<number:S&gender:M> NOUN<number:S&gender:M>

%

AdjunctLeft : ADJ<number:S&gender:F> NOUN<number:S&gender:F>

%

AdjunctLeft : ADJ<number:P&gender:M> NOUN<number:P&gender:M>

%

AdjunctLeft : ADJ<number:P&gender:F> NOUN<number:P&gender:F>

%

However, DepGrammar also allows using the operator “Agreement” which take as arguements the features involved in the agreement operation:

AdjunctLeft : ADJ NOUN

Agreement: gender, number

%