|
@@ -5760,7 +5760,7 @@ class DistrictPredictor():
|
|
district_tuple = pickle.load(f)
|
|
district_tuple = pickle.load(f)
|
|
self.p_pro, self.p_city, self.p_dis, self.idx_dic, self.full_dic, self.short_dic = district_tuple
|
|
self.p_pro, self.p_city, self.p_dis, self.idx_dic, self.full_dic, self.short_dic = district_tuple
|
|
|
|
|
|
- with open(os.path.dirname(__file__) + "area_variance_dic.pkl", 'rb') as f: # 20241113 地区变更新旧名称对照字典
|
|
|
|
|
|
+ with open(os.path.dirname(__file__) + "/area_variance_dic.pkl", 'rb') as f: # 20241113 地区变更新旧名称对照字典
|
|
self.area_variance_dic = pickle.load(f)
|
|
self.area_variance_dic = pickle.load(f)
|
|
|
|
|
|
def predict_backup(self, project_name, prem, title, list_articles, web_source_name = "", list_entitys=""):
|
|
def predict_backup(self, project_name, prem, title, list_articles, web_source_name = "", list_entitys=""):
|