def create_sample_mergings(setting): """ Merge final predictions (i.e. after matching) into a new parallel graph corpus containing the predicted alignments. This assumes corpus instance files in the ./inst subdir and true parallel graph corpus files in de ./true subdir Produces pred/dev001_pred.pgc, ..., pred/dev001_pred.pgc, val001_pred.pgc """ merge(setting)
def exp(setting): """ perform alignment experiment """ exp_init(setting) create_parts(setting) extract(setting) sample(setting) classify(setting) weight(setting) match(setting) merge(setting) evaluate(setting) exp_exit(setting)