|
@@ -189,9 +189,10 @@ def predict(doc_id,text,title="",page_time="",web_source_no='',original_docchann
|
|
|
log("get attributes done of doc_id%s"%(doc_id))
|
|
|
cost_time["attrs"] = round(time.time()-start_time,2)
|
|
|
|
|
|
- start_time = time.time() #失信数据要素提取
|
|
|
- list_punish_dic = predictor.getPredictor("punish").get_punish_extracts(list_articles,list_sentences, list_entitys)
|
|
|
- cost_time["punish"] = round(time.time()-start_time,2)
|
|
|
+ #暂时不执行
|
|
|
+ # start_time = time.time() #失信数据要素提取
|
|
|
+ # list_punish_dic = predictor.getPredictor("punish").get_punish_extracts(list_articles,list_sentences, list_entitys)
|
|
|
+ # cost_time["punish"] = round(time.time()-start_time,2)
|
|
|
|
|
|
|
|
|
'''修正采购公告表格形式多种采购产品中标价格;中标金额小于所有产品总金额则改为总金额'''
|