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

Class Lattice

source code

object --+
         |
        Lattice

Proxy of C Lattice 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, *args)
__init__(Lattice self, char const * path) -> Lattice __init__(Lattice self, Decoder decoder, char * path) -> Lattice
source code
 
__swig_destroy__(...)
delete_Lattice(Lattice self)
 
__del__(self) source code
 
write(self, path)
write(Lattice self, char const * path)
source code
 
write_htk(self, path)
write_htk(Lattice self, char const * path)
source code

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

Class Variables [hide private]
  __swig_setmethods__ = {}
  __swig_getmethods__ = {}
Properties [hide private]

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, *args)
(Constructor)

source code 

__init__(Lattice self, char const * path) -> Lattice __init__(Lattice self, Decoder decoder, char * path) -> Lattice

Overrides: object.__init__

write(self, path)

source code 

write(Lattice self, char const * path)

Write a lattice to disk.

0 for success, <0 on failure.

write_htk(self, path)

source code 

write_htk(Lattice self, char const * path)

Write a lattice to disk in HTK format.

0 for success, <0 on failure.