Exemple #1
0
    def __init__(self,
                 verbosity=0,
                 linkage_limit=100,
                 min_null_count=0,
                 max_null_count=0,
                 islands_ok=False,
                 short_length=6,
                 all_short_connectors=False,
                 display_morphology=False,
                 spell_guess=False,
                 max_parse_time=-1,
                 disjunct_cost=2.7):

        self._po = clg.parse_options_create()
        self.verbosity = verbosity
        self.linkage_limit = linkage_limit
        self.min_null_count = min_null_count
        self.max_null_count = max_null_count
        self.islands_ok = islands_ok
        self.short_length = short_length
        self.all_short_connectors = all_short_connectors
        self.display_morphology = display_morphology
        self.spell_guess = spell_guess
        self.max_parse_time = max_parse_time
        self.disjunct_cost = disjunct_cost
def parse_options_create():
  return _clinkgrammar.parse_options_create()
Exemple #3
0
def parse_options_create() -> "Parse_Options":
    return _clinkgrammar.parse_options_create()