The above features φ and their corresponding weights w are all that are needed to calculate scores of derivation trees at test time.
during training, it is also necessary to find model parses according to the loss-augmented scoring function S(D|F, w)+L(D|F, A) or oracle parses according to the loss L(D|F, A).