def create_sample_weightings(setting): """ Add prediction and weightings to the sample instances This assumes corpus instance files in de ./inst subdir and classifier output in the ./clas subdir. Fills the instance fields "pred_relation" and "pred_weight" """ weight(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)
def test_weight_val(self): self.st.develop = False weight(self.st)
def test_weight_dev(self): self.st.validate = False weight(self.st)