Parcourir la source

Merge branch 'master' of http://192.168.2.65:3000/BIDI-ML/BIDI_ML_INFO_EXTRACTION

rogel il y a 4 ans
Parent
commit
e20a5231a4
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 3 3
      BiddingKG/dl/complaint/punish_predictor.py
  2. 1 1
      BiddingKG/dl/test/test4.py

Fichier diff supprimé car celui-ci est trop grand
+ 3 - 3
BiddingKG/dl/complaint/punish_predictor.py


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

@@ -35,7 +35,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))

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff