def load_dict(self, *args): """ load_dict(Decoder self, char const * fdict, char const * ffilter, char const * format) Reload the pronunciation dictionary from a file. This function replaces the current pronunciation dictionary with the one stored in dictfile. This also causes the active search module(s) to be reinitialized, in the same manner as calling ps_add_word() with update=TRUE. Parameters: ----------- dictfile: Path to dictionary file to load. fdictfile: Path to filler dictionary to load, or NULL to keep the existing filler dictionary. format: Format of the dictionary file, or NULL to determine automatically (currently unused,should be NULL) """ return _pocketsphinx.Decoder_load_dict(self, *args)
def load_dict(self, fdict, ffilter, format): """load_dict(Decoder self, char const * fdict, char const * ffilter, char const * format)""" return _pocketsphinx.Decoder_load_dict(self, fdict, ffilter, format)