示例#1
0
 def __init__(self, *args):
     r"""
     __init__(NGramModel self, char const * path) -> NGramModel
     __init__(NGramModel self, Config config, LogMath logmath, char const * path) -> NGramModel
     """
     _sphinxbase.NGramModel_swiginit(self,
                                     _sphinxbase.new_NGramModel(*args))
示例#2
0
 def __init__(self, *args): 
     """
     __init__(NGramModel self, char const * path) -> NGramModel
     __init__(NGramModel self, Config config, LogMath logmath, char const * path) -> NGramModel
     """
     this = _sphinxbase.new_NGramModel(*args)
     try: self.this.append(this)
     except: self.this = this
 def __init__(self, *args): 
     """
     __init__(NGramModel self, char const * path) -> NGramModel
     __init__(NGramModel self, Config config, LogMath logmath, char const * path) -> NGramModel
     """
     this = _sphinxbase.new_NGramModel(*args)
     try: self.this.append(this)
     except: self.this = this