data_manager.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:kaggle-quora-solution-8th 作者: qqgeogor 项目源码 文件源码
def save_dict(self,outpath='./data/dictionary/'):
        pd.to_pickle(self.word_index, outpath + 'word_index.pkl')
        pd.to_pickle(self.index_word, outpath + 'index_word.pkl')
        if self.mode!='word':
            pd.to_pickle(self.char_index,outpath+'char_index.pkl')
            pd.to_pickle(self.index_char,outpath+'index_char.pkl')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号