
A command to change the weights of the selected OTGrammar on the basis of the language data in the selected PairDistribution.
This command works only if the decision strategy of the selected OTGrammar is HarmonicGrammar, LinearOT, PositiveHG, or ExponentialHG. Also, the selected PairDistribution must contain exactly one nonzeroprobability output for every possible input of the grammar.
The procedure follows the linear programming method by Pater, Potts & Bhatt (2007). This method tries to find a special correct weighting of the constraints, namely one that minimizes the sum of the constraint weights.
© ppgb 20080331