def disjunct_cost(self): """ Determines the maximum disjunct cost used during parsing, where the cost of a disjunct is equal to the maximum cost of all of its connectors. The default is that only disjuncts of cost 2.7 or less are considered. """ return clg.parse_options_get_disjunct_cost(self._obj)
def disjunct_cost(self): """ Determines the maximum disjunct cost used during parsing, where the cost of a disjunct is equal to the maximum cost of all of its connectors. The default is that only disjuncts of cost 2.7 or less are considered. """ return clg.parse_options_get_disjunct_cost(self._obj)
def parse_options_get_disjunct_cost(*args) -> "double" : return _clinkgrammar.parse_options_get_disjunct_cost(*args)
def parse_options_get_disjunct_cost(*args): return _clinkgrammar.parse_options_get_disjunct_cost(*args)
def fget(self): return clg.parse_options_get_disjunct_cost(self._po)
def fget(self): return clg.parse_options_get_disjunct_cost(self._po)
def parse_options_get_disjunct_cost(opts: 'Parse_Options') -> "double": return _clinkgrammar.parse_options_get_disjunct_cost(opts)
def test_setting_disjunct_cost(self): po = ParseOptions() po.disjunct_cost = 3.0 self.assertEqual(clg.parse_options_get_disjunct_cost(po._po), 3.0)
def test_setting_disjunct_cost(self): po = ParseOptions() po.disjunct_cost = 3.0 self.assertEqual(clg.parse_options_get_disjunct_cost(po._po), 3.0)