mirror of
https://github.com/rls-moe/nyx
synced 2024-11-22 22:12:24 +00:00
Reduced New-Line filter Aggressiveness
This commit is contained in:
parent
bc02972eef
commit
ac8cdc0a62
@ -63,6 +63,8 @@ func SpamScore(spam string) (float64, error) {
|
|||||||
lines = 1
|
lines = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lines = lines / 2
|
||||||
|
|
||||||
score := float64(len(spam)*lines) / float64(counter.p)
|
score := float64(len(spam)*lines) / float64(counter.p)
|
||||||
|
|
||||||
return (score * blScore) / 100, nil
|
return (score * blScore) / 100, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user