Example #1
0
    def set_lm_file(self, *args):
        """
        set_lm_file(Decoder self, char const * name, char const * path)

        Adds new search based on N-gram language model.

        Convenient method to load N-gram model and create a search.

        See:   ps_set_lm 
        """
        return _pocketsphinx.Decoder_set_lm_file(self, *args)
Example #2
0
 def set_lm_file(self, name, path):
     """set_lm_file(Decoder self, char const * name, char const * path)"""
     return _pocketsphinx.Decoder_set_lm_file(self, name, path)