#
# Grammar that recognizes noun phrases modified by one prepositional phrase.
# It eliminates phrases containing non-letter characters.
#

NPPP: NPGEN PREP NAP+;
NPGEN: $NAP NAP_GEN*;
NAP[agreement]: AP* N AP*;
NAP_GEN[case = gen]: 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}]+"];
PREP[pos = prep;form ~ "[\d\p{L}]+"];
DASH[form = "-"];