Skip to content

Commit 735d78a

Browse files
committed
chore: bump version
1 parent 3569c7f commit 735d78a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/ndabAP/entityscrape
22

33
go 1.18
44

5-
require github.com/ndabAP/assocentity/v12 v12.2.0
5+
require github.com/ndabAP/assocentity/v13 v13.0.1
66

77
require (
88
cloud.google.com/go/compute v1.12.1 // indirect
@@ -24,5 +24,3 @@ require (
2424
google.golang.org/grpc v1.50.1 // indirect
2525
google.golang.org/protobuf v1.28.1 // indirect
2626
)
27-
28-
replace github.com/ndabAP/assocentity/v12 => ../assocentity

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/
5050
github.com/googleapis/gax-go/v2 v2.7.0 h1:IcsPKeInNvYi7eqSaDjiZqDDKu5rsmunY0Y1YupQSSQ=
5151
github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8=
5252
github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
53+
github.com/ndabAP/assocentity/v13 v13.0.1 h1:uh9FE/f6npz6IWv2cPHmBwSE7Qr5KMdWkgGh9jZRgJM=
54+
github.com/ndabAP/assocentity/v13 v13.0.1/go.mod h1:uP4ilNGPl4MKYtqr/e6xVtpboYJ9b48DmZUrg4QldHE=
5355
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5456
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
5557
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"strings"
1515
"sync"
1616

17-
"github.com/ndabAP/assocentity/v12"
18-
"github.com/ndabAP/assocentity/v12/nlp"
19-
"github.com/ndabAP/assocentity/v12/tokenize"
17+
"github.com/ndabAP/assocentity/v13"
18+
"github.com/ndabAP/assocentity/v13/nlp"
19+
"github.com/ndabAP/assocentity/v13/tokenize"
2020
)
2121

2222
func init() {
@@ -109,7 +109,7 @@ func scrape(texts, entities []string, tokenizer tokenize.Tokenizer) error {
109109
if err != nil {
110110
l.Fatal(err)
111111
}
112-
assocentity.Aggregate(dists, assocentity.HumandReadableAggregator)
112+
assocentity.Normalize(dists, assocentity.HumandReadableNormalizer)
113113
assocentity.Threshold(dists, 0.1)
114114
mean := assocentity.Mean(dists)
115115

0 commit comments

Comments
 (0)