Package sphinx :: Module arpalm :: Class ArpaLM
[hide private]
[frames] | no frames]

Class ArpaLM

source code

object --+
         |
        ArpaLM

Class for reading ARPA-format language models

Instance Methods [hide private]
 
__init__(self, path=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
read(self, path)
Load an ARPA format language model from a file in its entirety
source code
 
save(self, path)
Save an ARPA format language model to a file
source code
 
successors(self, *syms) source code
 
score(self, *syms) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)