I posted the code of the standalone version of the TreebankParser on Bitbucket. A binary for Mac OSX can be found in the Download section. Binaries for the common operating systems will follow.

The TreebankParser is part of the Free Linguistic Environment (FLE) project. It converts some types of treebanks to a set of rules with frequencies or probabilities. Some extensions that are part of FLE will be added soon, e.g. converting the Context-free Grammars (CFGs) into a Weighted Finite State Transducer (WFST) representation.