#
# Combination of three grammars: polish-StdGrammar.txt, polish-NPInst.txt and polish-NPPP.txt
#

NP: NPINST | NPPP | NPGEN;
NPINST: NPGEN NINST NAP_GEN*;
NPPP: NPGEN PREP NAP+; 
NPGEN: $NAP NAP_GEN*;
NAP[agreement]: AP* N AP*;
NAP_GEN[case = gen]: NAP;
NINST[case = inst]: NAP;
AP: ADJ | PPAS | ADJA DASH ADJ;
N[pos = subst, ger];
ADJ[pos = adj];
ADJA[pos = adja];
PPAS[pos = ppas];
PREP[pos = prep];
DASH[form = "-"];
