11 2021 档案

摘要:import jieba f = open('西游记.txt', mode='r',encoding='ANSI')txt = f.read()txt = jieba.lcut(txt) buyao = ['。',',',':','“','”','?','、','《','》','!','!','\n 阅读全文
posted @ 2021-11-14 10:56 怜雨慕 阅读(76) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2021-11-06 10:53 怜雨慕 阅读(170) 评论(0) 推荐(0)