def __init__(self, sent, parse_options): self.sent = sent self.num = 0 self.parse_options = sent.parse_options if parse_options is None else parse_options self.rc = clg.sentence_parse(sent._obj, self.parse_options._obj) if clg.parse_options_timer_expired(self.parse_options._obj): raise LG_TimerExhausted()
def __init__(self, sent, parse_options): self.sent = sent self.num = 0 self.parse_options = sent.parse_options if parse_options is None else parse_options self.rc = clg.sentence_parse(sent._obj, self.parse_options._obj) if clg.parse_options_timer_expired(self.parse_options._obj): raise LG_TimerExhausted()