Exemplo n.º 1
0
 def __init__(self, hypstr, best_score, prob):
     """__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis"""
     this = _pocketsphinx.new_Hypothesis(hypstr, best_score, prob)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Exemplo n.º 2
0
 def __init__(self, hypstr, best_score, prob):
     """__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis"""
     this = _pocketsphinx.new_Hypothesis(hypstr, best_score, prob)
     try:
         self.this.append(this)
     except:
         self.this = this
Exemplo n.º 3
0
 def __init__(self, *args):
     """__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis"""
     this = _pocketsphinx.new_Hypothesis(*args)
     try:
         self.this.append(this)
     except:
         self.this = this
Exemplo n.º 4
0
 def __init__(self, hypstr, best_score, prob):
     r"""__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis"""
     _pocketsphinx.Hypothesis_swiginit(
         self, _pocketsphinx.new_Hypothesis(hypstr, best_score, prob))
Exemplo n.º 5
0
 def __init__(self, *args): 
     """__init__(Hypothesis self, char const * hypstr, char const * uttid, int best_score) -> Hypothesis"""
     this = _pocketsphinx.new_Hypothesis(*args)
     try: self.this.append(this)
     except: self.this = this