摘要:
import jieba f = open('西游记.txt', mode='r',encoding='ANSI')txt = f.read()txt = jieba.lcut(txt) buyao = ['。',',',':','“','”','?','、','《','》','!','!','\n 阅读全文
摘要:
1 from random import random 2 3 class bisai(object): 4 def __init__(self, nlA, nlB, n): 5 self.nlA = nlA 6 self.nlB = nlB 7 self.n = n 8 self.dfA = 0 阅读全文