Kaynağa Gözat

中标单位打分-10改为-5

wcj 6 yıl önce
ebeveyn
işleme
808a7d63d5
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      src/jy/pretreated/analytable.go
  2. 1 1
      src/res/fieldscore.json

+ 1 - 1
src/jy/pretreated/analytable.go

@@ -160,7 +160,7 @@ func CommonDataAnaly(k, tabletag, tabledesc string, v interface{}) (kvTags map[s
 			if MhSpilt.MatchString(v1) {
 				t1.Weight -= 50
 			}
-			kvTags[t1.Value] = append(kvTags[t1.Value], &u.Tag{Key: k1, Value: v1, Weight: t1.Weight})
+			kvTags[t1.Value] = append(kvTags[t1.Value], &u.Tag{Key: k, Value: v1, Weight: t1.Weight})
 		}
 		//k1 = res[0].Value
 	} else {

+ 1 - 1
src/res/fieldscore.json

@@ -206,7 +206,7 @@
             {
                 "describe": "非结尾",
                 "regstr": ".*[^集团|公司|学校|中心|家具城|门诊|\\[大中小\\]学|部|院|局|厂|店|所|队|社|室|厅|段|会|场|行]$",
-                "score": -10
+                "score": -5
             }
         ]
     },