Skip to content

Commit 76dbf5a

Browse files
committed
提高the触发概率
1 parent f1ea658 commit 76dbf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/thesaurus/chat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const (
146146

147147
func match(l []string, seg *jieba.Segmenter) zero.Rule {
148148
return func(ctx *zero.Ctx) bool {
149-
return ctxext.JiebaSimilarity(0.8, seg, func(ctx *zero.Ctx) string {
149+
return ctxext.JiebaSimilarity(0.66, seg, func(ctx *zero.Ctx) string {
150150
return ctx.ExtractPlainText()
151151
}, l...)(ctx)
152152
}

0 commit comments

Comments
 (0)