2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-10-31 09:20:15 +00:00
This commit is contained in:
Carlo Strub 2017-04-19 07:49:06 +00:00
parent b5617db460
commit 76198ada5d

View File

@ -47,7 +47,7 @@ func classificationWordProb(db *bolt.DB, word string) (g, j float64) {
p := tx.Bucket([]byte("Processed"))
counters := p.Bucket([]byte("Counters"))
jString := string(counters.Get([]byte("Junk")))
j, _ := strconv.ParseFloat(jString, 64)
j, _ = strconv.ParseFloat(jString, 64)
mails := p.Bucket([]byte("Mails"))
pN := mails.Stats().KeyN