#
# Grammar recognizes noun phrases optionally modified by at most two prepositional phrases.
#

NPP : NAP | NAP PNP | NAP PNP PNP;
NAP : AP* N AP*;
PNP : PREP DET? NAP;
AP : ADJ | PPAS;
N[pos = NOM];
ADJ[pos = ADJ];
PPAS[pos = "VER:pper"];
PREP[pos = PRP, "PRP:det"];
DET[pos = "DET:ART"];