Skip to content

Commit

Permalink
fix:提高查重比例阈值
Browse files Browse the repository at this point in the history
  • Loading branch information
Azusa-Yuan committed Oct 3, 2024
1 parent b8ea7ec commit e5d85f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/asill/asill.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ func init() {

for _, unit := range data {
rate := smetrics.Jaro(unit.Text, msg)
if rate > 0.6 {
ctx.SendChain(message.Text(fmt.Sprintf("在本文库中,总文字复制比:%f \n相似小作文:\n%s", 100*rate, unit.Text)))
if rate > 0.7 {
ctx.SendChain(message.Text(fmt.Sprintf("在本文库中,总文字复制比:%f%% \n相似小作文:\n%s", 100*rate, unit.Text)))
return
}
}
Expand Down

0 comments on commit e5d85f7

Please sign in to comment.