示例#1
0
 def __init__(self, config, logmath, path):
     """__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet"""
     this = _sphinxbase.new_NGramModelSet(config, logmath, path)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
示例#2
0
 def __init__(self, *args):
     """__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet"""
     this = _sphinxbase.new_NGramModelSet(*args)
     try:
         self.this.append(this)
     except:
         self.this = this
 def __init__(self, config, logmath, path):
     """__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet"""
     this = _sphinxbase.new_NGramModelSet(config, logmath, path)
     try:
         self.this.append(this)
     except Exception:
         self.this = this
示例#4
0
 def __init__(self, config, logmath, path):
     r"""__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet"""
     _sphinxbase.NGramModelSet_swiginit(
         self, _sphinxbase.new_NGramModelSet(config, logmath, path))