Try running it as

gibbs-pcfg -d 100 testengger.lt < testeng.yld

Each rule that the Gibbs PCFG reads should be in the format

[theta_init [alpha]] Parent --> Child1 [Child2 ...]

theta_init is the initial value of the rule probability

alpha is the Dirichlet parameter alpha.

hastings_pcfg integrates out the rule probabilities, so it reads rules of the format

[alpha] Parent --> Child1 [Child2 ...]

You can set a default value for theta and alpha from flags on the command line.

To actually see some output, use the -d flag to set the debugging level to some positive value (say, 100)
