Step 2: The second step does a stochastic gradient descent update on the parameter θ used in the parsing model.
this update first computes the weak supervision variable µ i value for each parse tree y through the syntactic constraint function Φ and then judges whether the punishment need to be done.