#
# Grammar allowing noun phrases in instrumental as modifiers.
# It eliminates phrases containing non-letter characters.
#

NPINST: NPGEN NAP_INST NAP_GEN*;
NPGEN : $NAP NAP_GEN*;
NAP[agreement]: AP* N AP*;
NAP_GEN[case = gen]: NAP;
NAP_INST[case = inst]: NAP;
AP: ADJ | PPAS | ADJA DASH ADJ;
N[pos = subst, ger;form ~ "[\d\p{L}]+"];
ADJ[pos = adj;form ~ "[\d\p{L}]+"];
ADJA[pos = adja;form ~ "[\d\p{L}]+"];
PPAS[pos = ppas;form ~ "[\d\p{L}]+"];
DASH[form = "-"];