コード例 #1
0
ファイル: pocketsphinx.py プロジェクト: lwllovewf2010/jarvis
    def save_dict(self, *args):
        """
        save_dict(Decoder self, char const * dictfile, char const * format)

        Dump the current pronunciation dictionary to a file.

        This function dumps the current pronunciation dictionary to a tex

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

        dictfile:  Path to file where dictionary will be written.

        format:  Format of the dictionary file, or NULL for the default (text)
        format (currently unused, should be NULL) 
        """
        return _pocketsphinx.Decoder_save_dict(self, *args)
コード例 #2
0
ファイル: pocketsphinx.py プロジェクト: kumarremoa/Goferbot
 def save_dict(self, dictfile, format):
     """save_dict(Decoder self, char const * dictfile, char const * format)"""
     return _pocketsphinx.Decoder_save_dict(self, dictfile, format)