We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66dd9b commit 6ea50cfCopy full SHA for 6ea50cf
plugin/thesaurus/chat.go
@@ -146,7 +146,7 @@ const (
146
147
func match(l []string, seg *jieba.Segmenter) zero.Rule {
148
return func(ctx *zero.Ctx) bool {
149
- return ctxext.JiebaSimilarity(0.5, seg, func(ctx *zero.Ctx) string {
+ return ctxext.JiebaSimilarity(0.8, seg, func(ctx *zero.Ctx) string {
150
return ctx.ExtractPlainText()
151
}, l...)(ctx)
152
}
0 commit comments