admin пре 4 година
родитељ
комит
641319bf27
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 3 3
      BiddingKG/dl/complaint/punish_predictor.py
  2. 1 1
      BiddingKG/dl/test/test4.py

Разлика између датотеке није приказан због своје велике величине
+ 3 - 3
BiddingKG/dl/complaint/punish_predictor.py


+ 1 - 1
BiddingKG/dl/test/test4.py

@@ -116,7 +116,7 @@ def test(name,content):
 if __name__=="__main__":
     # filename = "比地_52_79929693.html"
     #text = codecs.open("C:\\Users\\User\\Desktop\\数据20191014\\"+filename,"r",encoding="utf8").read()
-    text = codecs.open("C:\\Users\\User\\Desktop\\2.html","r",encoding="utf8").read()
+    text = codecs.open("C:\\Users\\admin\\Desktop\\新建文本文档 (3).txt","r",encoding="utf8").read()
     content = str(BeautifulSoup(text).find("div",id="pcontent"))
     # df_a = {"html":[]}
     # df_a["html"].append(re.sub('\r|\n|\r\n',"",content))

Неке датотеке нису приказане због велике количине промена