implement projected gradient descent for updating multinomial parameters of the latent CRF model, as an alternative to EM
factor in the number of alignments to give a comparable loglikelihood
X1) fix a bug in how the latent variable is interpreted in the latentCrf model for the word alignment task. 2) add a configuration to initialize the thetas uniformly and the lambdas to zero. 3) add a configuration to enable/disable null alignments.
reverse a previous commit
fix a bug in aggregating MLE counts across cores
1) fix another bug: fsts must have a single final state for forward backward to be correct. 2) tune hyperparams. note: the current configuration gives AER=23% using 1000 parallel sentences