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

Class NBest

source code

object --+
         |
        NBest

Proxy of C NBest 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
 
hyp(self)
hyp(NBest self) -> Hypothesis
source code
 
__swig_destroy__(...)
delete_NBest(NBest self)
 
__del__(self) source code
 
__init__(self)
__init__(NBest self) -> NBest
source code

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

Static Methods [hide private]
 
fromIter(itor)
fromIter(void * itor) -> NBest
source code
Class Variables [hide private]
  __swig_setmethods__ = {'hypstr': <built-in function NBest_hyps...
  __swig_getmethods__ = {}
Properties [hide private]
  hypstr
NBest_hypstr_get(NBest self) -> char *
  score
NBest_score_get(NBest 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)
(Constructor)

source code 

__init__(NBest self) -> NBest

Overrides: object.__init__

Class Variable Details [hide private]

__swig_setmethods__

Value:
{'hypstr': <built-in function NBest_hypstr_set>,
 'score': <built-in function NBest_score_set>}

Property Details [hide private]

hypstr

NBest_hypstr_get(NBest self) -> char *

Get Method:
_pocketsphinx'.NBest_hypstr_get(...) - NBest_hypstr_get(NBest self) -> char *
Set Method:
_pocketsphinx'.NBest_hypstr_set(...) - NBest_hypstr_set(NBest self, char * hypstr)

score

NBest_score_get(NBest self) -> int

Get Method:
_pocketsphinx'.NBest_score_get(...) - NBest_score_get(NBest self) -> int
Set Method:
_pocketsphinx'.NBest_score_set(...) - NBest_score_set(NBest self, int score)