fengweiqiang 5 năm trước cách đây
mục cha
commit
371ce3502d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/jy/extract/newextractcity.go
  2. 1 1
      src/res/fieldscore.json

+ 1 - 1
src/jy/extract/newextractcity.go

@@ -314,7 +314,7 @@ func GetByACDSimJb(pbrief, city, district, a_c_d string, e *ExtractTask, j *ju.J
 				PCDScore(j, "district", sim, 5, true)
 				for _, dfullAndCity := range dfullarr { //district简称对应的所有全称
 					for _, c := range dfullAndCity {
-						if c == nil{
+						if c == nil {
 							continue
 						}
 						tmpcity := c.Name      //城市全称

+ 1 - 1
src/res/fieldscore.json

@@ -202,7 +202,7 @@
             },
             {
                 "describe": "包含负分不再展示",
-                "regstr": "(详见|提出|面向|施工|获得|test|认定|一批|项目|系统)",
+                "regstr": "(详见|提出|面向|施工|获得|test|认定|一批|项目$|系统)",
                 "score": -50
             },
             {