def get_lm(self, *args): """ get_lm(Decoder self, char const * name) -> NGramModel Get the language model set object for this decoder. If N-Gram decoding is not enabled, this will return NULL. You will need to enable it using ps_set_lmset(). The language model set object for this decoder. The decoder retains ownership of this pointer, so you should not attempt to free it manually. Use ngram_model_retain() if you wish to reuse it elsewhere. """ return _pocketsphinx.Decoder_get_lm(self, *args)
def get_lm(self, name): """get_lm(Decoder self, char const * name) -> NGramModel""" return _pocketsphinx.Decoder_get_lm(self, name)