Exemplo n.º 1
0
    def set_lm(self, *args):
        """
        set_lm(Decoder self, char const * name, NGramModel lm)

        Adds new search based on N-gram language model.

        Associates N-gram search with the provided name. The search can be
        activated using ps_set_search().

        See:   ps_set_search. 
        """
        return _pocketsphinx.Decoder_set_lm(self, *args)
Exemplo n.º 2
0
 def set_lm(self, name, lm):
     """set_lm(Decoder self, char const * name, NGramModel lm)"""
     return _pocketsphinx.Decoder_set_lm(self, name, lm)