Exemplo n.º 1
0
    def get_lattice(self):
        """
        get_lattice(Decoder self) -> Lattice

        Get word lattice.

        There isn't much you can do with this so far, a public API will appear
        in the future.

        Parameters:
        -----------

        ps:  Decoder.

        Word lattice object containing all hypotheses so far. NULL if no
        hypotheses are available. This pointer is owned by the decoder and you
        should not attempt to free it manually. It is only valid until the
        next utterance, unless you use ps_lattice_retain() to retain it. 
        """
        return _pocketsphinx.Decoder_get_lattice(self)
Exemplo n.º 2
0
 def get_lattice(self):
     """get_lattice(Decoder self) -> Lattice"""
     return _pocketsphinx.Decoder_get_lattice(self)