浏览代码

去除日志

wcj 6 年之前
父节点
当前提交
0b87824cee
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      src/jy/extract/score.go
  2. 0 2
      src/jy/pretreated/winnerorder.go

+ 0 - 2
src/jy/extract/score.go

@@ -41,7 +41,6 @@ func init() {
 			CommonScore[k] = qu.Float64All(v)
 		}
 	}
-	log.Println(CommonScore)
 	//指定抽取属性打分配置
 	if tmp, ok := SoreConfig["extractype"]["fields"].(map[string]interface{}); ok {
 		FieldsScore = map[string]map[string]float64{}
@@ -55,7 +54,6 @@ func init() {
 			FieldsScore[key] = fieldscore
 		}
 	}
-	log.Println(FieldsScore)
 	//实例化正则
 	for _, tmp := range SoreConfig {
 		//log.Println(tmp)

+ 0 - 2
src/jy/pretreated/winnerorder.go

@@ -1,7 +1,6 @@
 package pretreated
 
 import (
-	"log"
 	//"jy/clear"
 	"jy/util"
 	qutil "qfw/util"
@@ -102,7 +101,6 @@ func (wo *WinnerOrderEntity) Find(text string, flag bool, from int) []map[string
 			invalidCount++
 		}
 	}
-	log.Println(invalidCount)
 	if invalidCount > len(winners)/2 {
 		return []map[string]interface{}{}
 	}