예제 #1
0
    def __init__(self, induction_settings, directory=None, filters=None):
        ConstituentExperiment.__init__(self, induction_settings, directory=directory, filters=filters)
        SplitMergeExperiment.__init__(self)

        self.strip_vroot = False
        self.k_best = 500
        self.disco_binarized_corpus = None
        self.dummy_flag = True
예제 #2
0
 def __init__(self, induction_settings, directory=None):
     """
     :type induction_settings: InductionSettings
     """
     ConstituentExperiment.__init__(self, induction_settings, directory=directory)
     SplitMergeExperiment.__init__(self)
     self.k_best = 50
     self.rule_smooth_list = None
     if self.induction_settings.feature_la:
         self.feature_log = defaultdict(lambda: 0)