def __init__(self):
#self.encoderFile = "/home/yanwii/Python/NLP/seq2seq/seq2seq_no_buckets/preprocessing/MySeq2seq/Data/alldata_ask.txt"
#self.decoderFile = '/home/yanwii/Python/NLP/seq2seq/seq2seq_no_buckets/preprocessing/MySeq2seq/Data/alldata_answer.txt'
#self.savePath = '/home/yanwii/Python/NLP/seq2seq/seq2seq_pytorch/data/'
self.encoderFile = "./data/question.txt"
self.decoderFile = "./data/answer.txt"
self.savePath = './data/'
jieba.load_userdict("./data/supplementvocab.txt")
评论列表
文章目录