fengweiqiang 5 년 전
부모
커밋
371ce3502d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
             },
             {