Package sphinxbase :: Module sphinxbase :: Class NGramModelSet
[hide private]
[frames] | no frames]

Class NGramModelSet

source code

object --+
         |
        NGramModelSet

Proxy of C NGramModelSet 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
 
__iter__(self)
__iter__(NGramModelSet self) -> NGramModelSetIterator
source code
 
__init__(self, config, logmath, path)
__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet
source code
 
__swig_destroy__(...)
delete_NGramModelSet(NGramModelSet self)
 
__del__(self) source code
 
count(self)
count(NGramModelSet self) -> int
source code
 
add(self, model, name, weight, reuse_widmap)
add(NGramModelSet self, NGramModel model, char const * name, float weight, bool reuse_widmap) -> NGramModel
source code
 
select(self, name)
select(NGramModelSet self, char const * name) -> NGramModel
source code
 
lookup(self, name)
lookup(NGramModelSet self, char const * name) -> NGramModel
source code
 
current(self)
current(NGramModelSet self) -> char const *
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, config, logmath, path)
(Constructor)

source code 

__init__(NGramModelSet self, Config config, LogMath logmath, char const * path) -> NGramModelSet

Overrides: object.__init__