def __init__(self, counts_pkl_fname, score_attr="freq_score", oov_count=0): Scorer.__init__(self, score_attr) self.counts_pkl_fname = counts_pkl_fname self.oov_count = oov_count
def __init__(self, ref_fname, score_attr): Scorer.__init__(self, score_attr) self.ref_fname = ref_fname
def __init__(self, score_attr="rand_score"): Scorer.__init__(self, score_attr)
def __init__(self, base_score_attrs, score_attr="best_score"): Scorer.__init__(self, score_attr) self.base_score_attrs = base_score_attrs