source NP.xfst pop stack define PrepTag [Prep]; define PrepPhrase [ Word PrepTag NPBeg NounPhrase NPEnd ]; define PPBeg [Space "PP["]; define PPEnd "]PP"; regex PrepPhrase @-> PPBeg ... PPEnd; invert net save PP.fst