Update pcfg

made it work with ngram constraints and tested, should be ok.