It is assumed, of course, that tokens matched by NAP (and NAP _GEN ) must agree in number, case and gender.
the program first extracts the longest (maximal) phrases consisting of a noun phrase, possibly modified by other noun phrases in the genitive case.