Package pocketsphinx :: Module pocketsphinx :: Class Hypothesis
[hide private]
[frames] | no frames]

Class Hypothesis

source code

object --+
         |
        Hypothesis

Proxy of C Hypothesis struct

Instance Methods [hide private]
 
__setattr__(self, name, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
__getattr__(self, name) source code
 
__repr__(self)
repr(x)
source code
 
__init__(self, hypstr, best_score, prob)
__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis
source code
 
__swig_destroy__(...)
delete_Hypothesis(Hypothesis self)
 
__del__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __swig_setmethods__ = {'best_score': <built-in function Hypoth...
  __swig_getmethods__ = {'best_score': <built-in function Hypoth...
Properties [hide private]
  hypstr
Hypothesis_hypstr_get(Hypothesis self) -> char *
  best_score
Hypothesis_best_score_get(Hypothesis self) -> int
  prob
Hypothesis_prob_get(Hypothesis self) -> int

Inherited from object: __class__

Method Details [hide private]

__setattr__(self, name, value)

source code 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__init__(self, hypstr, best_score, prob)
(Constructor)

source code 

__init__(Hypothesis self, char const * hypstr, int best_score, int prob) -> Hypothesis

Overrides: object.__init__

Class Variable Details [hide private]

__swig_setmethods__

Value:
{'best_score': <built-in function Hypothesis_best_score_set>,
 'hypstr': <built-in function Hypothesis_hypstr_set>,
 'prob': <built-in function Hypothesis_prob_set>}

__swig_getmethods__

Value:
{'best_score': <built-in function Hypothesis_best_score_get>,
 'hypstr': <built-in function Hypothesis_hypstr_get>,
 'prob': <built-in function Hypothesis_prob_get>}

Property Details [hide private]

hypstr

Hypothesis_hypstr_get(Hypothesis self) -> char *

Get Method:
_pocketsphinx'.Hypothesis_hypstr_get(...) - Hypothesis_hypstr_get(Hypothesis self) -> char *
Set Method:
_pocketsphinx'.Hypothesis_hypstr_set(...) - Hypothesis_hypstr_set(Hypothesis self, char * hypstr)

best_score

Hypothesis_best_score_get(Hypothesis self) -> int

Get Method:
_pocketsphinx'.Hypothesis_best_score_get(...) - Hypothesis_best_score_get(Hypothesis self) -> int
Set Method:
_pocketsphinx'.Hypothesis_best_score_set(...) - Hypothesis_best_score_set(Hypothesis self, int best_score)

prob

Hypothesis_prob_get(Hypothesis self) -> int

Get Method:
_pocketsphinx'.Hypothesis_prob_get(...) - Hypothesis_prob_get(Hypothesis self) -> int
Set Method:
_pocketsphinx'.Hypothesis_prob_set(...) - Hypothesis_prob_set(Hypothesis self, int prob)