grammatical production

generates grammatical productions from ptb files