During decoding, the decoder searches the best derivation with the lowest cost by applying SCFG rules.
after extracting features from the training corpus, we use the toolkit implemented by Zhang (2004) to train a MaxEnt RS model for each ambiguous hierarchical LHS.