def linkage_delete(*args): return _clinkgrammar.linkage_delete(*args)
def linkage_delete(*args) -> "void" : return _clinkgrammar.linkage_delete(*args)
def create_from_sentence(cls, idx, sentence, parse_options): linkage_swig_obj = clg.linkage_create(idx,sentence, parse_options) linkage_obj = Linkage(linkage_swig_obj, null_count=clg.sentence_null_count(sentence)) clg.linkage_delete(linkage_swig_obj) return linkage_obj
def create_from_sentence(cls, idx, sentence, parse_options): linkage_swig_obj = clg.linkage_create(idx, sentence, parse_options) linkage_obj = Linkage(linkage_swig_obj, null_count=clg.sentence_null_count(sentence)) clg.linkage_delete(linkage_swig_obj) return linkage_obj
def linkage_delete(linkage): return _clinkgrammar.linkage_delete(linkage)
def __del__(self): if hasattr(self, '_obj') and clg: clg.linkage_delete(self._obj) del self._obj
def linkage_delete(linkage: 'Linkage') -> "void": return _clinkgrammar.linkage_delete(linkage)
def linkage_delete(*args) -> "void": return _clinkgrammar.linkage_delete(*args)