Procházet zdrojové kódy

增加大实体字典

luojiehua před 2 roky
rodič
revize
6710c1d370
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      BiddingKG/dl/entityLink/entityLink.py

+ 3 - 0
BiddingKG/dl/entityLink/entityLink.py

@@ -150,8 +150,10 @@ def getEnterprisePath():
     huge_path = getFileFromSysPath(filename_huge)
     if huge_path is None:
         if os.path.exists(huge_path):
+            log("enterprise path:%s"%(huge_path))
             return huge_path
     else:
+        log("enterprise path:%s"%(huge_path))
         return huge_path
 
     filename = "LEGAL_ENTERPRISE.txt"
@@ -159,6 +161,7 @@ def getEnterprisePath():
     real_path = getFileFromSysPath(filename)
     if real_path is None:
         real_path = filename
+    log("enterprise path:%s"%(real_path))
     return real_path
 
 DICT_ENTERPRISE = {}